/*
 * Copyright (c) Hisilicon Technologies Co., Ltd. 2023-2023. All rights reserved.
 * Description: imx219_cmos_ex.h
 * Author: Hisilicon multimedia software group
 * Create: 2023-03-06
 */
#ifndef IMX219_CMOS_EX_H
#define IMX219_CMOS_EX_H

#include "hi_common_awb.h"
#include "hi_common_isp.h"

#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif

/*  Piris attr  */
static const hi_isp_piris_attr ST_PIRIS_ATTR = {
    0,      //  bStepFNOTableChange
    1,      //  bZeroIsMax
    94,     //  u16TotalStep
    62,     //  u16StepCount
    /*  Step-F number mapping table. Must be from small to large. F1.0 is 1024 and F32.0 is 1  */
    {30, 35, 40, 45, 50, 56, 61, 67, 73, 79, 85, 92, 98, 105, 112, 120, 127, 135, 143, 150, 158, 166, 174, 183, 191, 200, 208, 217, 225, 234, 243, 252, 261, 270, 279, 289, 298, 307, 316, 325, 335, 344, 353, 362, 372, 381, 390, 399, 408, 417, 426, 435, 444, 453, 462, 470, 478, 486, 493, 500, 506, 512},
    HI_ISP_IRIS_F_NO_1_4, //  enMaxIrisFNOTarget
    HI_ISP_IRIS_F_NO_5_6, //  enMinIrisFNOTarget
    0,                 //  bFNOExValid
    512,               //  u32MaxIrisFNOTarget
    30                 //  u32MinIrisFNOTarget
};

static hi_isp_awb_ccm g_stAwbCcm_NormalLens = {
    3, /*  The number of CCM matrixes  */
    {
        {
            6437,   /*  D65 the current color temperature  */
            {       /*  CCM matrixes for different color temperature  */
                0x029A,  0x81B7,  0x001D,
                0x8045,  0x0176,  0x8031,
                0x8014,  0x816E,  0x0282,
            },
        },
        {
            3918, /* TL84 */
            {
                0x01F9,  0x80D2,  0x8027,
                0x8127,  0x01E5,  0x0042,
                0x802C,  0x817A,  0x02A6,
            },
        },
        {
            2827, /* A */
            {
                0x0209,  0x80D4,  0x8035,
                0x0051,  0x0175,  0x80C6,
                0x8094,  0x8060,  0x01F4,
            },
        },
    },
};

static const hi_isp_awb_agc_table ST_AWB_AGC_TABLE = {
    /*  bvalid  */
    1,

    /*  saturation  */
    /* {0x80, 0x80, 0x78, 0x74, 0x68, 0x60, 0x58, 0x50, 0x48, 0x40, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38} */
    {128,  118,  108,  100,   94,   90,   85,   80,    72,    64,   56,   56,    56,   56,   56,   56}
};

static const hi_isp_cmos_ca g_stIspCA = {
    /* CA */
    1,
    /* Y */
    {
        36,   81,   111,  136,  158,  182,  207,  228,  259,  290,  317,  345,  369,  396, 420, 444, 468,  492,  515,
        534,  556,  574,  597,  614,  632,  648,  666,  681,  697,  709,  723,  734,  748, 758, 771, 780,  788,  800,
        808,  815,  822,  829,  837,  841,  848,  854,  858,  864,  868,  871,  878,  881, 885, 890, 893,  897,  900,
        903,  906,  909,  912,  915,  918,  921,  924,  926,  929,  931,  934,  936,  938, 941, 943, 945,  947,  949,
        951,  952,  954,  956,  958,  961,  962,  964,  966,  968,  969,  970,  971,  973, 974, 976, 977,  979,  980,
        981,  983,  984,  985,  986,  988,  989,  990,  991,  992,  993,  995,  996,  997, 998, 999, 1000, 1001, 1004,
        1005, 1006, 1007, 1009, 1010, 1011, 1012, 1014, 1016, 1017, 1019, 1020, 1022, 1024
    },
    /* ISO */
    {1300, 1300, 1250, 1200, 1150, 1100, 1050, 1000, 950, 900, 900, 800, 800, 800, 800, 800},

};

static const hi_isp_cmos_clut g_stIspCLUT = {
    1,
    128,
    128,
    128,
    {
        {
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        67174464, 0,        67174464, 67174464, 67174464, 67174464, 67174464,
            67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464,
            67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 0,
            67174464, 0,        67174464, 67174464, 67174464, 67174464, 0,        67174464, 0,        67174464, 67174464,
            67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464,
            67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 0,        67174464,
            0,        67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 0,        67174464,
            0,        67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464,
            67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 0,        67174464, 0,
            67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464,
            67174464, 0,        67174464, 0,        67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464,
            67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 0,        67174464, 0,        67174464,
            67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464,
            67174464, 67174464, 67174464, 67174464, 0,        67174464, 0,        67174464, 67174464, 67174464, 67174464,
            67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 0,        67174464, 0,        67174464, 67174464,
            67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464,
            67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 0,        67174464, 0,        67174464,
            67174464, 67174464, 67174464, 67174464, 67174464, 0,        67174464, 0,        67174464, 67174464, 67174464,
            67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464,
            67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 67174464, 0,
            67174464, 0,        67174464, 67174464, 0,        67174464, 0,        67174464, 67174464, 67174464, 0,
            67174464, 67174464, 67174464, 0,        67174464, 67174464, 67174464, 0,        67174464, 67174464, 67174464,
            0,        67174464, 67174464, 67174464, 0,        67174464, 67174464, 67174464, 0,        67174464, 67174464,
            67174464, 0,        0,        0,        0,        0,        67174464, 67174464, 0,        0,        67174464,
            67174464, 0,        0,        67174464, 67174464, 0,        0,        67174464, 67174464, 0,        0,
            67174464, 67174464, 0,        0,        67174464, 67174464, 0,        0,        67174464, 67174464, 0,
            0,        67174464, 0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,
            0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464,
            0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,
            67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        67174464,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        67174464, 0,
            67174464, 0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        67174464, 0,        0,        0,        0,        67174464, 0,
            0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464,
            0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,
            67174464, 0,        0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        67174464, 0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,
            67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,
            0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,
            0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        67174464, 0,        67174464,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        67174464, 0,        0,        0,        0,
            67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,
            0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,
            0,        0,        67174464, 0,        0,        0,        0,        0,        0,        67174464, 0,
            67174464, 0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,
            0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,
            0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464,
            0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        67174464, 0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        67174464,
            0,        67174464, 0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        67174464, 0,        0,
            0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464,
            0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,
            67174464, 0,        0,        0,        67174464, 0,        0,        0,        0,        0,        0,
            67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            67174464, 0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464,
            0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,
            67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,
            0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        67174464,
            0,        0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,
            0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,
            0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        0,
            0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        67174464, 0,        67174464,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,
            67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,
            0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,
            0,        0,        67174464, 0,        0,        0,        67174464, 0,        67174464, 0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        67174464, 0,
            67174464, 0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        67174464, 0,        0,        0,        0,        67174464, 0,        0,        0,        67174464,
            0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,
            67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,
            0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        67174464,
            0,        67174464, 0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        67174464,
            0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,
            0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464,
            0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,
            67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        67174464, 0,        0,        0,        0,        67174464, 0,        0,
            0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,
            0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464,
            0,        0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        67174464, 0,
            67174464, 0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        67174464,
            0,        67174464, 0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,        67174464,
            0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,
            67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,
            0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        0,        67174464,
            0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,
            67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,
            0,        67174464, 0,        0,        0,        0,        0,        0,        67174464, 0,        67174464,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        67174464, 0,
            67174464, 0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,
            0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,
            0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        67174464, 0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        67174464, 0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        67174464, 0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            67174464, 0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        67174464, 0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        67174464, 0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        67174464, 0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        67174464, 0,        0,
            0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,
            0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464,
            0,        0,        0,        0,        0,        0,        0,        0,        67174464, 0,        67174464,
            0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,
            67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,
            0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,
            67174464, 0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        67174464,
            0,        67174464, 0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        67174464, 0,        0,        0,        0,        67174464,
            0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,
            67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,
            0,        67174464, 0,        0,        0,        0,        0,        0,        67174464, 0,        67174464,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        67174464, 0,        67174464, 0,        0,        0,        67174464, 0,        0,
            0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,
            0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464,
            0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        67174464, 0,
            67174464, 0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        67174464, 0,        0,        0,
            0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,
            0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464,
            0,        0,        0,        67174464, 0,        0,        0,        0,        0,        0,        67174464,
            0,        67174464, 0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,
            0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464,
            0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,
            67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        67174464,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        67174464, 0,
            0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,
            67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,
            0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        0,        0,
            0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        67174464, 0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,
            67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,
            0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,
            0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        67174464, 0,        67174464,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            67174464, 0,        0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,
            0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464,
            0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,
            0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        67174464, 0,
            67174464, 0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,
            0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,
            0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464,
            0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        67174464, 0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        67174464,
            0,        67174464, 0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        67174464, 0,        0,        0,        0,        67174464, 0,        0,        0,
            67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,
            0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,
            0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        67174464, 0,        67174464,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            67174464, 0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464,
            0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,
            67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,
            0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        67174464, 0,        0,        0,        0,        67174464, 0,
            0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464,
            0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,
            67174464, 0,        0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        67174464,
            0,        67174464, 0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        67174464, 0,        67174464,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            67174464, 0,        67174464, 0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        67174464, 0,        67174464, 0,        0,        0,
            67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,
            0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        67174464, 0,
            0,        0,        67174464, 0,        0,        0,        67174464, 0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        67174464, 0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        67174464, 0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        67174464, 0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        67174464, 0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        67174464,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        67174464, 0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        67174464, 0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,
            0,        0,        0,        0,        0,        0,        0,        0,
        },
    }
};

static const hi_isp_cmos_wdr g_stIspWDR = {
    /* bFusionMode */
    0,

    /* bMotionComp */
    1,

    /* u16ShortThr */
    4032,

    /* u16LongThr */
    3008,

    /* bForceLong */
    1,

    /* u16ForceLongLowThr */
    500,

    /* u16ForceLongHigThr */
    700,

    /* bShortExpoChk */
    0,

    /* u16ShortCheckThd */
    0x0,

    /* bMDRefFlicker */
    0,

    /* au8MdThrLowGain[16] */

    { 64, 64, 64, 64, 64, 64, 64, 96, 128, 255, 255, 255, 255, 255, 255, 255 },

    /* au8MdThrHigGain[16] */

    { 128, 128, 128, 128, 128, 128, 128, 128, 128, 255, 255, 255, 255, 255, 255, 255 },

    /* enBnrMode */
    1,

    /* u8BnrStr */
    // 16,

    /* au16FusionThr[4] */

    { 3855, 3000 },

    /* u8MdtStillThd */
    0x14,

    /* u8MdtLongBlend */
    0x0

};

static const hi_isp_cmos_dpc g_stCmosDpc = {
    {0, 0, 0, 152, 200, 200, 220, 220, 220, 220, 152, 152, 152, 152, 152, 152}, /* au16Strength[16] */
    {0, 0, 0,  0,  0,  0,  0,  0,  0,  0, 50, 50, 50, 50, 50, 50}, /* au16BlendRatio[16] */
};

static const hi_isp_cmos_lsc g_stCmosLsc = {
    /* MeshStrength */
    4096,
    /* MeshScale */
    5,
    /* ISP_LSC_CABLI_TABLE_S */
    {
        {
            /* Rgain */
            {
    0x3FF, 0x3FF, 0x3E0, 0x3AD, 0x380, 0x34D, 0x31B, 0x2EB, 0x2B6, 0x28B, 0x262, 0x237, 0x21E, 0x203, 0x1F0, 0x1E5,
    0x1E1, 0x1E4, 0x1E9, 0x1FC, 0x210, 0x22D, 0x24C, 0x274, 0x29D, 0x2CA, 0x2FD, 0x32B, 0x356, 0x389, 0x3BA, 0x3EE,
    0x3FF, 0x3FF, 0x3E8, 0x3AD, 0x37E, 0x348, 0x313, 0x2DF, 0x2AA, 0x279, 0x24C, 0x222, 0x1FC, 0x1DD, 0x1C0, 0x1B0,
    0x1A4, 0x1A0, 0x1A2, 0x1B0, 0x1BC, 0x1D2, 0x1EE, 0x210, 0x236, 0x262, 0x290, 0x2BE, 0x2F3, 0x328, 0x359, 0x38A,
    0x3C0, 0x3FF, 0x3FF, 0x3C6, 0x38D, 0x35D, 0x321, 0x2EB, 0x2B5, 0x27D, 0x244, 0x21A, 0x1EB, 0x1C6, 0x1A4, 0x189,
    0x175, 0x16C, 0x166, 0x16A, 0x174, 0x185, 0x19D, 0x1BB, 0x1DD, 0x205, 0x231, 0x260, 0x297, 0x2C8, 0x2FE, 0x336,
    0x369, 0x3A0, 0x3E3, 0x3F1, 0x3AD, 0x377, 0x33D, 0x302, 0x2C7, 0x28E, 0x256, 0x21E, 0x1EC, 0x1BE, 0x196, 0x176,
    0x158, 0x146, 0x13C, 0x137, 0x13A, 0x146, 0x156, 0x16F, 0x18C, 0x1B0, 0x1DC, 0x207, 0x23B, 0x274, 0x2AA, 0x2E5,
    0x31B, 0x351, 0x388, 0x3CA, 0x3DB, 0x398, 0x35B, 0x321, 0x2E2, 0x2A6, 0x26A, 0x22C, 0x1F5, 0x1C0, 0x192, 0x168,
    0x148, 0x12C, 0x117, 0x10B, 0x109, 0x10C, 0x117, 0x129, 0x143, 0x160, 0x185, 0x1B2, 0x1DE, 0x218, 0x24E, 0x288,
    0x2C5, 0x2FE, 0x337, 0x372, 0x3B1, 0x3BD, 0x37D, 0x341, 0x304, 0x2C2, 0x282, 0x243, 0x206, 0x1CB, 0x196, 0x164,
    0x13D, 0x11B, 0xFF,  0xEB,  0xE2,  0xDE,  0xDF,  0xEB,  0xFC,  0x115, 0x136, 0x15D, 0x18A, 0x1B8, 0x1F0, 0x22C,
    0x268, 0x2A5, 0x2E3, 0x31D, 0x35B, 0x39F, 0x3AD, 0x35F, 0x320, 0x2E2, 0x2A3, 0x25F, 0x21B, 0x1DC, 0x1A2, 0x16A,
    0x13C, 0x111, 0xEE,  0xD5,  0xBF,  0xB5,  0xB1,  0xB6,  0xC0,  0xD1,  0xEB,  0x10A, 0x131, 0x160, 0x191, 0x1CB,
    0x205, 0x242, 0x285, 0x2C3, 0x300, 0x33D, 0x38A, 0x391, 0x346, 0x305, 0x2C3, 0x27F, 0x23A, 0x1F4, 0x1B6, 0x179,
    0x142, 0x113, 0xE8,  0xC5,  0xAB,  0x99,  0x8D,  0x89,  0x8E,  0x9A,  0xAB,  0xC4,  0xE5,  0x10C, 0x139, 0x16D,
    0x1A5, 0x1E2, 0x221, 0x262, 0x2A6, 0x2E5, 0x327, 0x36B, 0x379, 0x331, 0x2EE, 0x2A8, 0x261, 0x21B, 0x1D5, 0x194,
    0x156, 0x11F, 0xEF,  0xC5,  0xA5,  0x89,  0x78,  0x6D,  0x6A,  0x6D,  0x79,  0x89,  0xA4,  0xC4,  0xEB,  0x117,
    0x14C, 0x183, 0x1C4, 0x205, 0x245, 0x28A, 0x2CD, 0x30F, 0x356, 0x36E, 0x320, 0x2DA, 0x292, 0x24A, 0x202, 0x1BD,
    0x179, 0x13D, 0x104, 0xD4,  0xAB,  0x89,  0x6F,  0x5E,  0x51,  0x4F,  0x52,  0x5D,  0x6E,  0x88,  0xA9,  0xCE,
    0xFC,  0x131, 0x16B, 0x1AB, 0x1EC, 0x230, 0x27A, 0x2B9, 0x2FE, 0x34B, 0x368, 0x311, 0x2CB, 0x282, 0x237, 0x1ED,
    0x1A8, 0x163, 0x124, 0xED,  0xBB,  0x93,  0x73,  0x57,  0x47,  0x3C,  0x39,  0x3D,  0x46,  0x58,  0x72,  0x92,
    0xB8,  0xE7,  0x11B, 0x158, 0x197, 0x1DC, 0x223, 0x266, 0x2AD, 0x2F0, 0x33D, 0x357, 0x303, 0x2BB, 0x273, 0x224,
    0x1DB, 0x196, 0x14E, 0x10F, 0xD9,  0xA7,  0x7F,  0x5F,  0x46,  0x36,  0x2B,  0x26,  0x2B,  0x34,  0x47,  0x5F,
    0x7E,  0xA6,  0xD4,  0x10A, 0x147, 0x187, 0x1C9, 0x210, 0x258, 0x2A1, 0x2EC, 0x32E, 0x34B, 0x2FA, 0x2AD, 0x262,
    0x214, 0x1CA, 0x182, 0x13C, 0xFE,  0xC4,  0x98,  0x6E,  0x4F,  0x36,  0x25,  0x1B,  0x18,  0x1B,  0x26,  0x37,
    0x4F,  0x70,  0x94,  0xC5,  0xF9,  0x135, 0x176, 0x1B9, 0x202, 0x24A, 0x293, 0x2D9, 0x32A, 0x33D, 0x2EB, 0x2A0,
    0x255, 0x206, 0x1BC, 0x172, 0x12E, 0xEF,  0xB7,  0x87,  0x61,  0x41,  0x29,  0x1A,  0xF,   0xC,   0x10,  0x1A,
    0x29,  0x41,  0x62,  0x87,  0xB5,  0xEB,  0x125, 0x168, 0x1AD, 0x1F4, 0x23F, 0x286, 0x2D1, 0x31C, 0x334, 0x2E0,
    0x295, 0x247, 0x1FC, 0x1B1, 0x166, 0x122, 0xE3,  0xAD,  0x7D,  0x57,  0x37,  0x1F,  0x10,  0x7,   0x3,   0x7,
    0xF,   0x1F,  0x37,  0x56,  0x7C,  0xAA,  0xE0,  0x11C, 0x15D, 0x1A1, 0x1EB, 0x234, 0x27B, 0x2C5, 0x311, 0x32D,
    0x2DC, 0x28F, 0x245, 0x1F9, 0x1A9, 0x164, 0x120, 0xDD,  0xA7,  0x79,  0x52,  0x32,  0x1C,  0xC,   0x3,   0x0,
    0x2,   0xC,   0x1C,  0x33,  0x51,  0x77,  0xA4,  0xD9,  0x118, 0x159, 0x19C, 0x1E6, 0x22F, 0x277, 0x2BF, 0x30D,
    0x332, 0x2D9, 0x290, 0x248, 0x1F9, 0x1AD, 0x165, 0x11F, 0xDF,  0xAA,  0x7A,  0x54,  0x34,  0x1D,  0xC,   0x5,
    0x0,   0x5,   0xE,   0x1F,  0x36,  0x55,  0x7B,  0xA9,  0xDC,  0x119, 0x15B, 0x1A1, 0x1EB, 0x234, 0x27C, 0x2C6,
    0x316, 0x339, 0x2E3, 0x296, 0x24A, 0x1FF, 0x1B3, 0x16C, 0x125, 0xE8,  0xB2,  0x82,  0x5B,  0x3A,  0x23,  0x12,
    0xA,   0x6,   0xA,   0x14,  0x25,  0x3E,  0x5C,  0x82,  0xB1,  0xE5,  0x123, 0x166, 0x1A7, 0x1F2, 0x23D, 0x281,
    0x2CB, 0x31E, 0x33D, 0x2EB, 0x2A1, 0x251, 0x206, 0x1BC, 0x174, 0x131, 0xF4,  0xBB,  0x8D,  0x64,  0x44,  0x2D,
    0x1B,  0x13,  0xF,   0x13,  0x1E,  0x2E,  0x47,  0x67,  0x8A,  0xBC,  0xF1,  0x12E, 0x170, 0x1B5, 0x1FD, 0x247,
    0x28E, 0x2D3, 0x325, 0x341, 0x2F3, 0x2A7, 0x25B, 0x211, 0x1C6, 0x181, 0x13C, 0xFF,  0xC8,  0x98,  0x70,  0x50,
    0x37,  0x27,  0x1E,  0x1B,  0x1E,  0x28,  0x3B,  0x52,  0x72,  0x98,  0xC8,  0xFE,  0x139, 0x17A, 0x1C1, 0x208,
    0x250, 0x295, 0x2DA, 0x32A, 0x342, 0x2F3, 0x2AC, 0x265, 0x219, 0x1D6, 0x18E, 0x14A, 0x10C, 0xD6,  0xA5,  0x7E,
    0x5D,  0x46,  0x34,  0x2A,  0x27,  0x2B,  0x35,  0x46,  0x61,  0x81,  0xA8,  0xD6,  0x10C, 0x148, 0x187, 0x1CC,
    0x211, 0x258, 0x2A1, 0x2E4, 0x333, 0x34D, 0x2FE, 0x2B7, 0x271, 0x22B, 0x1E0, 0x19D, 0x15B, 0x11F, 0xE8,  0xBC,
    0x90,  0x70,  0x57,  0x45,  0x3C,  0x39,  0x3C,  0x47,  0x5A,  0x72,  0x95,  0xBB,  0xE9,  0x11D, 0x15A, 0x198,
    0x1DB, 0x21E, 0x266, 0x2AA, 0x2E9, 0x334, 0x356, 0x30C, 0x2C9, 0x283, 0x23D, 0x1F8, 0x1B2, 0x174, 0x137, 0x101,
    0xD2,  0xAB,  0x89,  0x6F,  0x5E,  0x54,  0x51,  0x55,  0x5E,  0x73,  0x8D,  0xAE,  0xD4,  0x103, 0x136, 0x173,
    0x1B0, 0x1F2, 0x235, 0x279, 0x2B9, 0x2FA, 0x341, 0x367, 0x31F, 0x2DB, 0x29B, 0x258, 0x210, 0x1D1, 0x192, 0x156,
    0x121, 0xF3,  0xC9,  0xA7,  0x8F,  0x7D,  0x73,  0x6E,  0x74,  0x7E,  0x91,  0xAD,  0xCD,  0xF5,  0x122, 0x155,
    0x190, 0x1CD, 0x20F, 0x24F, 0x291, 0x2D0, 0x30F, 0x35F, 0x37D, 0x334, 0x2F7, 0x2B2, 0x271, 0x231, 0x1F1, 0x1B1,
    0x179, 0x143, 0x117, 0xEE,  0xCD,  0xB1,  0xA1,  0x96,  0x93,  0x97,  0xA1,  0xB5,  0xD0,  0xF2,  0x118, 0x146,
    0x179, 0x1B2, 0x1ED, 0x22E, 0x26C, 0x2AF, 0x2EA, 0x329, 0x36E, 0x391, 0x347, 0x309, 0x2CB, 0x28F, 0x24C, 0x20F,
    0x1D5, 0x19D, 0x168, 0x13A, 0x112, 0xF3,  0xD9,  0xC5,  0xBD,  0xB9,  0xBE,  0xC7,  0xDB,  0xF7,  0x118, 0x13E,
    0x16A, 0x19E, 0x1D3, 0x20D, 0x248, 0x28A, 0x2C5, 0x303, 0x33F, 0x382, 0x39C, 0x35B, 0x31F, 0x2E5, 0x2A6, 0x26D,
    0x230, 0x1F7, 0x1BF, 0x18F, 0x160, 0x13B, 0x11A, 0x101, 0xED,  0xE4,  0xE1,  0xE4,  0xEF,  0x102, 0x11D, 0x13D,
    0x163, 0x18F, 0x1BE, 0x1F6, 0x22F, 0x268, 0x2A6, 0x2DC, 0x317, 0x353, 0x398, 0x3B0, 0x36B, 0x330, 0x2F9, 0x2C0,
    0x287, 0x24F, 0x218, 0x1E2, 0x1B4, 0x187, 0x162, 0x143, 0x12A, 0x116, 0x10E, 0x10B, 0x10E, 0x119, 0x12C, 0x145,
    0x163, 0x18A, 0x1B5, 0x1E4, 0x218, 0x24D, 0x285, 0x2BC, 0x2F5, 0x328, 0x360, 0x3A9, 0x3BA, 0x379, 0x344, 0x312,
    0x2DC, 0x2A5, 0x26F, 0x239, 0x208, 0x1DB, 0x1B1, 0x18B, 0x16D, 0x156, 0x144, 0x13B, 0x135, 0x13C, 0x144, 0x157,
    0x170, 0x18E, 0x1B4, 0x1DA, 0x20A, 0x23A, 0x270, 0x2A1, 0x2D4, 0x30E, 0x33E, 0x373, 0x3B9, 0x3D3, 0x391, 0x35E,
    0x32B, 0x2FB, 0x2C8, 0x296, 0x263, 0x234, 0x208, 0x1E0, 0x1BC, 0x19D, 0x188, 0x175, 0x16E, 0x168, 0x16F, 0x178,
    0x189, 0x1A1, 0x1BE, 0x1E1, 0x209, 0x232, 0x266, 0x296, 0x2C6, 0x2F7, 0x32B, 0x359, 0x391, 0x3E1, 0x3F8, 0x3AF,
    0x37C, 0x34E, 0x31E, 0x2EE, 0x2C1, 0x291, 0x263, 0x239, 0x213, 0x1F1, 0x1D6, 0x1BB, 0x1AE, 0x1A4, 0x1A2, 0x1A4,
    0x1AF, 0x1C1, 0x1D7, 0x1F3, 0x214, 0x239, 0x262, 0x290, 0x2BE, 0x2EA, 0x31E, 0x34D, 0x380, 0x3B5, 0x3FF, 0x3FF,
    0x3D7, 0x39D, 0x372, 0x344, 0x318, 0x2EF, 0x2BF, 0x297, 0x26D, 0x249, 0x227, 0x20D, 0x1F8, 0x1E7, 0x1E1, 0x1DA,
    0x1DF, 0x1E7, 0x1FA, 0x20F, 0x228, 0x24B, 0x26F, 0x298, 0x2BF, 0x2F0, 0x319, 0x342, 0x36F, 0x3A0, 0x3DB, 0x3FF,
    0x3FF, 0x3FF, 0x3CC, 0x3A0, 0x36E, 0x348, 0x31E, 0x2F2, 0x2CC, 0x2A3, 0x27D, 0x260, 0x248, 0x234, 0x223, 0x221,
    0x218, 0x21E, 0x225, 0x238, 0x249, 0x266, 0x285, 0x2A5, 0x2CE, 0x2F3, 0x31C, 0x342, 0x377, 0x3A4, 0x3D3, 0x3FF,
    0x3FF,
            },

            /* Grgain */
            {
    0x3BD, 0x35E, 0x320, 0x2E7, 0x2B4, 0x282, 0x253, 0x227, 0x1FF, 0x1DB, 0x1BB, 0x1A0, 0x18B, 0x176, 0x16B, 0x15E,
    0x15E, 0x15F, 0x168, 0x172, 0x183, 0x198, 0x1AF, 0x1CB, 0x1EC, 0x212, 0x239, 0x266, 0x297, 0x2CB, 0x303, 0x34A,
    0x3A1, 0x37F, 0x323, 0x2E3, 0x2AC, 0x277, 0x246, 0x21A, 0x1EC, 0x1C7, 0x1A2, 0x183, 0x168, 0x150, 0x13F, 0x132,
    0x12A, 0x129, 0x129, 0x132, 0x13C, 0x14E, 0x163, 0x17A, 0x199, 0x1B7, 0x1DE, 0x205, 0x230, 0x25F, 0x294, 0x2CE,
    0x310, 0x362, 0x35F, 0x302, 0x2C3, 0x28B, 0x255, 0x224, 0x1F5, 0x1C9, 0x19F, 0x17D, 0x15E, 0x143, 0x12A, 0x118,
    0x10C, 0x103, 0xFF,  0x105, 0x10B, 0x117, 0x128, 0x13E, 0x157, 0x176, 0x195, 0x1B9, 0x1E4, 0x211, 0x23F, 0x272,
    0x2AC, 0x2ED, 0x33E, 0x33D, 0x2E7, 0x2A9, 0x26F, 0x23B, 0x207, 0x1D8, 0x1AC, 0x182, 0x15F, 0x13D, 0x121, 0x10A,
    0xF8,  0xEB,  0xE1,  0xE1,  0xE2,  0xEB,  0xF6,  0x108, 0x11E, 0x139, 0x156, 0x177, 0x19E, 0x1C6, 0x1F4, 0x227,
    0x25B, 0x290, 0x2D1, 0x325, 0x320, 0x2CE, 0x291, 0x255, 0x21E, 0x1ED, 0x1BE, 0x18E, 0x164, 0x140, 0x11E, 0x103,
    0xEB,  0xD7,  0xCB,  0xC3,  0xC0,  0xC4,  0xCB,  0xD7,  0xEA,  0x101, 0x11B, 0x139, 0x159, 0x183, 0x1AB, 0x1D9,
    0x208, 0x23F, 0x278, 0x2B9, 0x303, 0x30A, 0x2B3, 0x276, 0x23D, 0x203, 0x1D0, 0x19F, 0x172, 0x147, 0x122, 0x100,
    0xE1,  0xCC,  0xB9,  0xA9,  0xA5,  0xA1,  0xA4,  0xAB,  0xB8,  0xCB,  0xE1,  0xFE,  0x11C, 0x13D, 0x165, 0x191,
    0x1BF, 0x1F1, 0x225, 0x25D, 0x29D, 0x2ED, 0x2E7, 0x298, 0x25C, 0x21F, 0x1E9, 0x1B4, 0x182, 0x151, 0x127, 0x103,
    0xE1,  0xC4,  0xAB,  0x98,  0x8B,  0x84,  0x82,  0x85,  0x8E,  0x9B,  0xAC,  0xC4,  0xDF,  0x100, 0x123, 0x14A,
    0x174, 0x1A2, 0x1D6, 0x20A, 0x244, 0x280, 0x2D0, 0x2D1, 0x27C, 0x23F, 0x207, 0x1CB, 0x196, 0x167, 0x136, 0x10A,
    0xE5,  0xC3,  0xA6,  0x8E,  0x7C,  0x6D,  0x66,  0x64,  0x68,  0x71,  0x7E,  0x8F,  0xA7,  0xC3,  0xE4,  0x105,
    0x12E, 0x15B, 0x18B, 0x1BB, 0x1F3, 0x22B, 0x268, 0x2B5, 0x2B9, 0x267, 0x22C, 0x1ED, 0x1B6, 0x181, 0x14F, 0x11F,
    0xF3,  0xCC,  0xAC,  0x8D,  0x75,  0x63,  0x55,  0x50,  0x4D,  0x4F,  0x57,  0x63,  0x78,  0x8F,  0xAC,  0xCC,
    0xF0,  0x118, 0x145, 0x174, 0x1A4, 0x1DB, 0x214, 0x252, 0x29F, 0x2AF, 0x25A, 0x21B, 0x1E0, 0x1A5, 0x16F, 0x13C,
    0x10D, 0xE0,  0xBA,  0x99,  0x7A,  0x63,  0x4F,  0x44,  0x3C,  0x39,  0x3C,  0x45,  0x52,  0x63,  0x7C,  0x9A,
    0xBB,  0xDD,  0x108, 0x134, 0x165, 0x197, 0x1CD, 0x206, 0x243, 0x291, 0x2A8, 0x24F, 0x210, 0x1D4, 0x198, 0x160,
    0x12F, 0xFE,  0xD2,  0xA9,  0x87,  0x69,  0x53,  0x40,  0x33,  0x2C,  0x2B,  0x2E,  0x36,  0x42,  0x56,  0x6E,
    0x8B,  0xAD,  0xD1,  0xFC,  0x129, 0x159, 0x18C, 0x1C1, 0x1F9, 0x23A, 0x287, 0x29B, 0x244, 0x206, 0x1C7, 0x18D,
    0x157, 0x123, 0xF2,  0xC4,  0x9C,  0x78,  0x5D,  0x44,  0x34,  0x26,  0x20,  0x1E,  0x22,  0x28,  0x36,  0x48,
    0x61,  0x7C,  0x9F,  0xC6,  0xEF,  0x11C, 0x14D, 0x180, 0x1B8, 0x1F5, 0x231, 0x27C, 0x28F, 0x23C, 0x1FC, 0x1BC,
    0x183, 0x14B, 0x116, 0xE6,  0xB8,  0x8F,  0x6D,  0x4F,  0x39,  0x27,  0x1C,  0x15,  0x13,  0x16,  0x1E,  0x2A,
    0x3C,  0x54,  0x72,  0x95,  0xBA,  0xE4,  0x111, 0x142, 0x175, 0x1AD, 0x1E6, 0x225, 0x275, 0x283, 0x22F, 0x1EF,
    0x1B2, 0x178, 0x13F, 0x10A, 0xD9,  0xAC,  0x85,  0x61,  0x45,  0x2D,  0x1D,  0x11,  0xB,   0x9,   0xC,   0x14,
    0x1F,  0x32,  0x49,  0x67,  0x88,  0xAF,  0xD8,  0x107, 0x138, 0x16A, 0x1A4, 0x1DB, 0x21A, 0x266, 0x27A, 0x226,
    0x1E6, 0x1A8, 0x16D, 0x135, 0x101, 0xD0,  0xA2,  0x7C,  0x58,  0x3E,  0x26,  0x15,  0xB,   0x4,   0x3,   0x5,
    0xC,   0x18,  0x29,  0x41,  0x5F,  0x80,  0xA6,  0xD1,  0xFE,  0x12F, 0x164, 0x19B, 0x1D3, 0x212, 0x25E, 0x272,
    0x220, 0x1E1, 0x1A3, 0x16A, 0x132, 0xFC,  0xCB,  0x9E,  0x77,  0x56,  0x39,  0x23,  0x12,  0x8,   0x2,   0x0,
    0x1,   0x9,   0x14,  0x26,  0x3E,  0x5A,  0x7C,  0xA2,  0xCD,  0xFA,  0x12B, 0x160, 0x197, 0x1CF, 0x20E, 0x25C,
    0x276, 0x222, 0x1E2, 0x1A6, 0x16C, 0x132, 0xFF,  0xCD,  0xA1,  0x7A,  0x56,  0x3B,  0x24,  0x14,  0xA,   0x3,
    0x1,   0x3,   0xB,   0x18,  0x29,  0x40,  0x5E,  0x80,  0xA6,  0xCE,  0xFE,  0x130, 0x164, 0x19B, 0x1D3, 0x211,
    0x25E, 0x27C, 0x229, 0x1EB, 0x1AD, 0x173, 0x13A, 0x105, 0xD3,  0xA7,  0x7F,  0x5D,  0x41,  0x29,  0x18,  0xE,
    0x8,   0x6,   0x8,   0xF,   0x1E,  0x2F,  0x46,  0x63,  0x85,  0xAC,  0xD7,  0x105, 0x135, 0x169, 0x1A1, 0x1DB,
    0x21B, 0x264, 0x287, 0x22E, 0x1EF, 0x1B3, 0x177, 0x140, 0x10D, 0xDB,  0xAF,  0x87,  0x65,  0x49,  0x32,  0x20,
    0x15,  0xF,   0xD,   0xE,   0x16,  0x24,  0x36,  0x4E,  0x6B,  0x8E,  0xB5,  0xDF,  0x10F, 0x13F, 0x173, 0x1AB,
    0x1E4, 0x220, 0x26D, 0x28B, 0x233, 0x1F5, 0x1B9, 0x17D, 0x147, 0x114, 0xE5,  0xB7,  0x8F,  0x6E,  0x50,  0x39,
    0x28,  0x1C,  0x16,  0x14,  0x17,  0x1F,  0x2C,  0x3F,  0x58,  0x74,  0x95,  0xBC,  0xE8,  0x116, 0x147, 0x178,
    0x1B2, 0x1ED, 0x227, 0x272, 0x28B, 0x238, 0x1FA, 0x1BF, 0x182, 0x150, 0x11D, 0xEC,  0xBF,  0x9A,  0x77,  0x5B,
    0x42,  0x31,  0x26,  0x1D,  0x1D,  0x20,  0x27,  0x34,  0x48,  0x61,  0x7F,  0xA0,  0xC6,  0xF0,  0x11D, 0x14F,
    0x180, 0x1B8, 0x1F1, 0x22F, 0x27A, 0x297, 0x240, 0x1FF, 0x1C6, 0x18D, 0x158, 0x126, 0xF7,  0xCB,  0xA6,  0x84,
    0x66,  0x50,  0x3D,  0x30,  0x2A,  0x29,  0x2C,  0x33,  0x42,  0x55,  0x6F,  0x8A,  0xAD,  0xD1,  0xFD,  0x128,
    0x159, 0x18A, 0x1BE, 0x1F8, 0x235, 0x27E, 0x29C, 0x24C, 0x210, 0x1D4, 0x19C, 0x168, 0x133, 0x107, 0xDD,  0xB6,
    0x95,  0x78,  0x61,  0x4F,  0x42,  0x3E,  0x3B,  0x3D,  0x46,  0x56,  0x68,  0x80,  0x9E,  0xBD,  0xE3,  0x10D,
    0x138, 0x169, 0x199, 0x1CF, 0x207, 0x245, 0x28C, 0x2B3, 0x25F, 0x221, 0x1E9, 0x1B2, 0x17A, 0x14C, 0x11E, 0xF4,
    0xCF,  0xAE,  0x91,  0x79,  0x67,  0x5A,  0x54,  0x53,  0x56,  0x5D,  0x6B,  0x80,  0x98,  0xB5,  0xD4,  0xF8,
    0x124, 0x150, 0x17E, 0x1AD, 0x1E2, 0x21C, 0x25B, 0x2A4, 0x2C5, 0x274, 0x23C, 0x201, 0x1C7, 0x194, 0x166, 0x138,
    0x10E, 0xE8,  0xC8,  0xAA,  0x93,  0x81,  0x76,  0x6F,  0x6D,  0x70,  0x79,  0x87,  0x9B,  0xB2,  0xD0,  0xEF,
    0x112, 0x13A, 0x165, 0x196, 0x1C5, 0x1FD, 0x233, 0x271, 0x2BA, 0x2D5, 0x289, 0x24E, 0x213, 0x1DF, 0x1A9, 0x17D,
    0x14F, 0x127, 0x102, 0xE0,  0xC7,  0xAF,  0x9D,  0x91,  0x8A,  0x87,  0x8C,  0x95,  0xA4,  0xB6,  0xCD,  0xE8,
    0x10A, 0x12D, 0x152, 0x17E, 0x1AB, 0x1DD, 0x211, 0x24B, 0x28B, 0x2D2, 0x2EF, 0x29B, 0x262, 0x228, 0x1F3, 0x1C0,
    0x192, 0x166, 0x13E, 0x11D, 0xFB,  0xE2,  0xCB,  0xBB,  0xAE,  0xA6,  0xA6,  0xA8,  0xB0,  0xBE,  0xD1,  0xE8,
    0x105, 0x121, 0x145, 0x16A, 0x196, 0x1C1, 0x1F2, 0x229, 0x260, 0x29E, 0x2E7, 0x2FE, 0x2AE, 0x273, 0x23D, 0x20A,
    0x1D5, 0x1A8, 0x17F, 0x157, 0x134, 0x115, 0xFA,  0xE6,  0xD5,  0xC9,  0xC3,  0xC2,  0xC3,  0xCC,  0xD7,  0xEB,
    0x101, 0x11D, 0x13A, 0x15C, 0x182, 0x1AC, 0x1D8, 0x208, 0x23C, 0x276, 0x2B0, 0x302, 0x313, 0x2C3, 0x289, 0x254,
    0x220, 0x1EF, 0x1C1, 0x198, 0x171, 0x150, 0x133, 0x119, 0x103, 0xF3,  0xE6,  0xE1,  0xDE,  0xE3,  0xE9,  0xF6,
    0x10A, 0x11E, 0x139, 0x158, 0x178, 0x19D, 0x1C6, 0x1F0, 0x21F, 0x253, 0x288, 0x2CC, 0x31C, 0x334, 0x2DE, 0x2A5,
    0x270, 0x23D, 0x20D, 0x1DF, 0x1B9, 0x192, 0x172, 0x155, 0x13B, 0x126, 0x117, 0x109, 0x104, 0x103, 0x106, 0x10D,
    0x119, 0x12B, 0x13F, 0x159, 0x175, 0x197, 0x1BE, 0x1E4, 0x211, 0x23C, 0x273, 0x2A9, 0x2EC, 0x345, 0x364, 0x307,
    0x2C6, 0x290, 0x25E, 0x233, 0x205, 0x1DE, 0x1B8, 0x196, 0x17B, 0x162, 0x14C, 0x13D, 0x132, 0x12B, 0x12A, 0x12D,
    0x133, 0x140, 0x150, 0x166, 0x17E, 0x19D, 0x1BD, 0x1E1, 0x209, 0x234, 0x264, 0x298, 0x2D0, 0x316, 0x37A, 0x396,
    0x331, 0x2EE, 0x2B8, 0x283, 0x258, 0x22D, 0x205, 0x1E1, 0x1C1, 0x1A4, 0x18C, 0x176, 0x169, 0x15D, 0x157, 0x153,
    0x158, 0x15E, 0x16C, 0x17D, 0x190, 0x1A9, 0x1C4, 0x1E4, 0x208, 0x233, 0x25C, 0x28B, 0x2C2, 0x2FD, 0x348, 0x3AA,
    0x3C7, 0x36F, 0x321, 0x2ED, 0x2B5, 0x28A, 0x25E, 0x235, 0x212, 0x1F0, 0x1D8, 0x1BE, 0x1AC, 0x19C, 0x18D, 0x18B,
    0x186, 0x18A, 0x194, 0x19D, 0x1AC, 0x1C1, 0x1D8, 0x1F6, 0x218, 0x239, 0x261, 0x28E, 0x2BB, 0x2F1, 0x336, 0x386,
    0x3E7,
            },

            /* Gbgain */
            {
    0x3BA, 0x363, 0x320, 0x2EB, 0x2B4, 0x281, 0x250, 0x227, 0x1FE, 0x1DC, 0x1BD, 0x1A0, 0x186, 0x174, 0x168, 0x160,
    0x15D, 0x15D, 0x162, 0x16F, 0x182, 0x198, 0x1AC, 0x1CA, 0x1EB, 0x20D, 0x237, 0x262, 0x293, 0x2C7, 0x304, 0x345,
    0x3A5, 0x388, 0x326, 0x2E6, 0x2B1, 0x27A, 0x248, 0x21C, 0x1F0, 0x1C7, 0x1A6, 0x188, 0x16D, 0x156, 0x143, 0x135,
    0x12D, 0x128, 0x12B, 0x133, 0x13E, 0x14F, 0x165, 0x17D, 0x19B, 0x1B8, 0x1DD, 0x202, 0x22E, 0x260, 0x293, 0x2CB,
    0x30F, 0x366, 0x364, 0x302, 0x2C6, 0x28B, 0x258, 0x227, 0x1F6, 0x1CB, 0x1A3, 0x182, 0x161, 0x146, 0x12D, 0x11A,
    0x10E, 0x105, 0x103, 0x105, 0x10D, 0x118, 0x129, 0x140, 0x157, 0x176, 0x194, 0x1BA, 0x1E0, 0x20E, 0x23D, 0x26F,
    0x2A7, 0x2E8, 0x33F, 0x341, 0x2E6, 0x2A9, 0x270, 0x23B, 0x209, 0x1DC, 0x1AC, 0x185, 0x161, 0x142, 0x125, 0x10D,
    0xFA,  0xED,  0xE4,  0xE1,  0xE4,  0xEC,  0xF5,  0x109, 0x120, 0x139, 0x159, 0x175, 0x19D, 0x1C5, 0x1F4, 0x225,
    0x257, 0x28D, 0x2CB, 0x327, 0x32B, 0x2D0, 0x293, 0x257, 0x220, 0x1ED, 0x1BC, 0x18F, 0x167, 0x142, 0x121, 0x105,
    0xED,  0xD9,  0xCA,  0xC4,  0xC0,  0xC3,  0xCB,  0xD8,  0xEB,  0x102, 0x11B, 0x139, 0x15A, 0x182, 0x1A9, 0x1D7,
    0x206, 0x23D, 0x275, 0x2B3, 0x305, 0x30C, 0x2B4, 0x276, 0x23D, 0x205, 0x1D2, 0x1A0, 0x175, 0x149, 0x122, 0x100,
    0xE5,  0xCD,  0xBA,  0xAC,  0xA3,  0xA2,  0xA5,  0xAD,  0xB9,  0xCC,  0xE3,  0xFD,  0x11D, 0x13E, 0x165, 0x191,
    0x1BB, 0x1ED, 0x221, 0x258, 0x29A, 0x2ED, 0x2ED, 0x299, 0x25A, 0x21F, 0x1E9, 0x1B4, 0x183, 0x155, 0x129, 0x105,
    0xE4,  0xC6,  0xAD,  0x9A,  0x8D,  0x84,  0x82,  0x85,  0x8C,  0x9A,  0xAD,  0xC5,  0xE0,  0xFF,  0x123, 0x14A,
    0x173, 0x1A0, 0x1D3, 0x208, 0x23E, 0x27E, 0x2CD, 0x2D5, 0x27F, 0x240, 0x206, 0x1CD, 0x198, 0x168, 0x13A, 0x10E,
    0xE7,  0xC5,  0xA7,  0x8E,  0x7C,  0x6E,  0x67,  0x64,  0x67,  0x70,  0x7F,  0x92,  0xA8,  0xC4,  0xE4,  0x106,
    0x12F, 0x158, 0x186, 0x1B8, 0x1ED, 0x224, 0x261, 0x2B2, 0x2BE, 0x268, 0x22B, 0x1EF, 0x1B9, 0x182, 0x151, 0x122,
    0xF5,  0xCF,  0xAD,  0x8F,  0x77,  0x64,  0x56,  0x50,  0x4C,  0x50,  0x58,  0x65,  0x79,  0x90,  0xAE,  0xCC,
    0xF0,  0x117, 0x143, 0x171, 0x1A3, 0x1D9, 0x20F, 0x24B, 0x29C, 0x2B4, 0x25B, 0x21D, 0x1E1, 0x1A6, 0x171, 0x140,
    0x110, 0xE1,  0xBC,  0x9A,  0x7C,  0x64,  0x51,  0x45,  0x3B,  0x39,  0x3C,  0x45,  0x53,  0x66,  0x7E,  0x9B,
    0xBB,  0xDE,  0x106, 0x132, 0x161, 0x192, 0x1C9, 0x200, 0x23D, 0x290, 0x2AA, 0x250, 0x210, 0x1D6, 0x19A, 0x164,
    0x131, 0x102, 0xD5,  0xAD,  0x8A,  0x6C,  0x54,  0x41,  0x35,  0x2E,  0x2B,  0x2D,  0x36,  0x43,  0x56,  0x6F,
    0x8C,  0xAD,  0xD2,  0xFA,  0x127, 0x158, 0x189, 0x1C1, 0x1F6, 0x236, 0x285, 0x2A0, 0x246, 0x209, 0x1CA, 0x18E,
    0x159, 0x126, 0xF4,  0xC7,  0x9E,  0x7C,  0x5E,  0x47,  0x33,  0x28,  0x20,  0x1E,  0x22,  0x28,  0x37,  0x49,
    0x62,  0x7F,  0x9F,  0xC6,  0xEF,  0x11F, 0x14B, 0x17E, 0x1B5, 0x1ED, 0x22C, 0x27D, 0x295, 0x23B, 0x1FA, 0x1BD,
    0x181, 0x14B, 0x119, 0xE8,  0xBB,  0x92,  0x70,  0x52,  0x3A,  0x28,  0x1D,  0x15,  0x14,  0x16,  0x1E,  0x2B,
    0x3D,  0x55,  0x73,  0x96,  0xB9,  0xE4,  0x110, 0x140, 0x173, 0x1AA, 0x1E5, 0x221, 0x273, 0x288, 0x230, 0x1F0,
    0x1B3, 0x177, 0x142, 0x10D, 0xDD,  0xAF,  0x86,  0x64,  0x47,  0x30,  0x1E,  0x13,  0xD,   0xA,   0xC,   0x14,
    0x21,  0x32,  0x4B,  0x68,  0x88,  0xAF,  0xDA,  0x106, 0x136, 0x16B, 0x1A1, 0x1DC, 0x21A, 0x266, 0x284, 0x223,
    0x1E7, 0x1A9, 0x16F, 0x139, 0x104, 0xD4,  0xA6,  0x7E,  0x5C,  0x40,  0x27,  0x17,  0xB,   0x5,   0x3,   0x6,
    0xD,   0x1A,  0x2A,  0x43,  0x5F,  0x80,  0xA6,  0xD0,  0xFC,  0x12D, 0x161, 0x197, 0x1D2, 0x210, 0x263, 0x278,
    0x220, 0x1E3, 0x1A6, 0x16B, 0x133, 0x101, 0xCE,  0xA3,  0x7A,  0x59,  0x3B,  0x25,  0x14,  0x9,   0x2,   0x0,
    0x1,   0xA,   0x15,  0x26,  0x3F,  0x5B,  0x7C,  0xA2,  0xCD,  0xF9,  0x12B, 0x15F, 0x195, 0x1CE, 0x209, 0x25D,
    0x27D, 0x224, 0x1E4, 0x1A8, 0x16F, 0x137, 0x102, 0xD3,  0xA5,  0x7E,  0x5B,  0x3E,  0x26,  0x17,  0xA,   0x5,
    0x2,   0x3,   0xC,   0x18,  0x2B,  0x41,  0x5E,  0x81,  0xA6,  0xD0,  0xFE,  0x12F, 0x163, 0x199, 0x1D2, 0x20E,
    0x261, 0x281, 0x228, 0x1EB, 0x1AF, 0x174, 0x13C, 0x10A, 0xD7,  0xAB,  0x83,  0x60,  0x43,  0x2D,  0x1B,  0xF,
    0xA,   0x6,   0x9,   0x11,  0x1F,  0x30,  0x48,  0x63,  0x87,  0xAD,  0xD7,  0x107, 0x135, 0x169, 0x19E, 0x1D8,
    0x219, 0x269, 0x28D, 0x22F, 0x1F2, 0x1B5, 0x17C, 0x143, 0x110, 0xE0,  0xB3,  0x8C,  0x68,  0x4B,  0x33,  0x22,
    0x16,  0xF,   0xD,   0xF,   0x17,  0x24,  0x36,  0x4F,  0x6C,  0x90,  0xB4,  0xE0,  0x10C, 0x13D, 0x171, 0x1A7,
    0x1E2, 0x21E, 0x270, 0x28D, 0x235, 0x1F8, 0x1BC, 0x181, 0x14C, 0x119, 0xE8,  0xBB,  0x93,  0x6F,  0x53,  0x3B,
    0x2A,  0x1D,  0x17,  0x15,  0x18,  0x1F,  0x2D,  0x40,  0x58,  0x76,  0x96,  0xBB,  0xE8,  0x117, 0x147, 0x177,
    0x1AE, 0x1EA, 0x227, 0x276, 0x293, 0x23A, 0x1FC, 0x1C1, 0x188, 0x152, 0x11E, 0xF1,  0xC4,  0x9D,  0x79,  0x5D,
    0x46,  0x33,  0x28,  0x20,  0x1D,  0x20,  0x28,  0x36,  0x4A,  0x62,  0x7F,  0xA0,  0xC6,  0xF1,  0x11F, 0x14F,
    0x17E, 0x1B6, 0x1F0, 0x22C, 0x27B, 0x299, 0x240, 0x203, 0x1C8, 0x18F, 0x15C, 0x128, 0xFB,  0xCE,  0xA8,  0x88,
    0x69,  0x51,  0x3E,  0x32,  0x2C,  0x29,  0x2D,  0x35,  0x43,  0x56,  0x6F,  0x8C,  0xAE,  0xD2,  0xFC,  0x128,
    0x158, 0x188, 0x1BD, 0x1F6, 0x234, 0x284, 0x2A4, 0x24F, 0x212, 0x1D6, 0x1A0, 0x16A, 0x139, 0x10B, 0xE1,  0xBB,
    0x99,  0x7B,  0x63,  0x53,  0x43,  0x3D,  0x3B,  0x3F,  0x46,  0x55,  0x69,  0x81,  0x9F,  0xBF,  0xE3,  0x10C,
    0x139, 0x168, 0x199, 0x1CF, 0x208, 0x243, 0x28F, 0x2B6, 0x262, 0x223, 0x1EB, 0x1B5, 0x17D, 0x150, 0x121, 0xF7,
    0xD2,  0xB1,  0x93,  0x7C,  0x68,  0x5B,  0x55,  0x53,  0x57,  0x5E,  0x6C,  0x81,  0x98,  0xB5,  0xD6,  0xF9,
    0x124, 0x151, 0x17F, 0x1AE, 0x1E4, 0x21D, 0x25C, 0x2A6, 0x2CD, 0x276, 0x23C, 0x202, 0x1CD, 0x199, 0x168, 0x13C,
    0x112, 0xED,  0xCB,  0xAE,  0x96,  0x84,  0x78,  0x6F,  0x6F,  0x71,  0x7B,  0x88,  0x9C,  0xB4,  0xD1,  0xEF,
    0x114, 0x13A, 0x166, 0x196, 0x1C6, 0x1FB, 0x232, 0x274, 0x2BF, 0x2E2, 0x28E, 0x253, 0x21A, 0x1E4, 0x1AC, 0x180,
    0x152, 0x12A, 0x107, 0xE4,  0xC8,  0xB2,  0xA0,  0x93,  0x8C,  0x8A,  0x8E,  0x96,  0xA3,  0xB8,  0xCD,  0xEB,
    0x109, 0x12C, 0x155, 0x180, 0x1AD, 0x1DC, 0x211, 0x24B, 0x288, 0x2D8, 0x2F9, 0x2A1, 0x268, 0x22D, 0x1F8, 0x1C6,
    0x197, 0x16D, 0x144, 0x120, 0xFF,  0xE4,  0xCE,  0xBD,  0xAF,  0xA9,  0xA7,  0xA9,  0xB2,  0xBF,  0xD3,  0xE9,
    0x106, 0x123, 0x146, 0x16D, 0x196, 0x1C5, 0x1F4, 0x22A, 0x261, 0x29C, 0x2F0, 0x30C, 0x2B5, 0x275, 0x243, 0x20E,
    0x1DD, 0x1AD, 0x184, 0x15D, 0x139, 0x11B, 0xFF,  0xEA,  0xD9,  0xCC,  0xC5,  0xC4,  0xC4,  0xCE,  0xDA,  0xEE,
    0x104, 0x11F, 0x13B, 0x15E, 0x184, 0x1AC, 0x1D9, 0x207, 0x23E, 0x274, 0x2B1, 0x304, 0x31E, 0x2C9, 0x28E, 0x257,
    0x223, 0x1F2, 0x1C6, 0x19E, 0x178, 0x156, 0x136, 0x11F, 0x108, 0xF7,  0xEA,  0xE2,  0xE1,  0xE7,  0xED,  0xF8,
    0x10C, 0x121, 0x13D, 0x15A, 0x17B, 0x19E, 0x1C8, 0x1F3, 0x21F, 0x255, 0x28D, 0x2CC, 0x320, 0x33F, 0x2E7, 0x2AC,
    0x275, 0x241, 0x213, 0x1E5, 0x1BF, 0x197, 0x17A, 0x15C, 0x141, 0x12C, 0x11A, 0x10F, 0x108, 0x107, 0x109, 0x111,
    0x11D, 0x12E, 0x143, 0x15E, 0x179, 0x19B, 0x1BF, 0x1E6, 0x212, 0x23E, 0x271, 0x2AB, 0x2EF, 0x348, 0x370, 0x312,
    0x2CC, 0x298, 0x266, 0x236, 0x20B, 0x1E5, 0x1BE, 0x19F, 0x181, 0x167, 0x154, 0x143, 0x138, 0x131, 0x12E, 0x131,
    0x13A, 0x145, 0x156, 0x16A, 0x183, 0x1A0, 0x1C1, 0x1E3, 0x20A, 0x236, 0x264, 0x299, 0x2CF, 0x316, 0x37E, 0x39F,
    0x33D, 0x2F6, 0x2BE, 0x28C, 0x260, 0x232, 0x20F, 0x1E7, 0x1C8, 0x1AC, 0x193, 0x17F, 0x172, 0x165, 0x15D, 0x15B,
    0x15E, 0x163, 0x170, 0x181, 0x196, 0x1AE, 0x1C9, 0x1E9, 0x20C, 0x234, 0x25E, 0x28E, 0x2C1, 0x2FE, 0x348, 0x3B0,
    0x3D4, 0x37A, 0x330, 0x2F2, 0x2C2, 0x292, 0x268, 0x23E, 0x21C, 0x1FB, 0x1DF, 0x1C6, 0x1B0, 0x1A2, 0x193, 0x191,
    0x18C, 0x191, 0x198, 0x1A2, 0x1B1, 0x1C8, 0x1DE, 0x1FA, 0x21C, 0x242, 0x266, 0x292, 0x2C4, 0x2F8, 0x339, 0x38C,
    0x3EB,
            },

            /* Bgain */
            {
    0x32B, 0x2E1, 0x2B0, 0x27B, 0x252, 0x22A, 0x201, 0x1DF, 0x1BA, 0x19E, 0x188, 0x16E, 0x15C, 0x14C, 0x142, 0x138,
    0x139, 0x138, 0x13F, 0x148, 0x159, 0x16C, 0x180, 0x196, 0x1B2, 0x1D3, 0x1F6, 0x21D, 0x246, 0x272, 0x2A2, 0x2DE,
    0x329, 0x2FF, 0x2AD, 0x278, 0x24B, 0x21D, 0x1F2, 0x1D0, 0x1A8, 0x188, 0x16B, 0x153, 0x13C, 0x129, 0x119, 0x110,
    0x108, 0x104, 0x107, 0x10D, 0x117, 0x124, 0x13A, 0x152, 0x16A, 0x184, 0x1A3, 0x1C6, 0x1EA, 0x214, 0x243, 0x275,
    0x2AA, 0x2F1, 0x2DE, 0x28F, 0x25D, 0x22D, 0x1FE, 0x1D8, 0x1AF, 0x18B, 0x168, 0x14A, 0x131, 0x11C, 0x106, 0xF6,
    0xEC,  0xE7,  0xE2,  0xE6,  0xEA,  0xF6,  0x104, 0x117, 0x12F, 0x149, 0x162, 0x183, 0x1A7, 0x1CF, 0x1F8, 0x223,
    0x256, 0x28E, 0x2DA, 0x2C4, 0x278, 0x246, 0x216, 0x1E9, 0x1C0, 0x196, 0x172, 0x14D, 0x130, 0x116, 0x100, 0xEC,
    0xDC,  0xD0,  0xC9,  0xC8,  0xCA,  0xCF,  0xD9,  0xE9,  0xFE,  0x114, 0x130, 0x14C, 0x16E, 0x18F, 0x1B8, 0x1E2,
    0x211, 0x23E, 0x275, 0x2BF, 0x2B2, 0x263, 0x231, 0x200, 0x1D1, 0x1A6, 0x17D, 0x159, 0x135, 0x115, 0xFA,  0xE3,
    0xD0,  0xBF,  0xB3,  0xAD,  0xAC,  0xAD,  0xB3,  0xBF,  0xD0,  0xE4,  0xFA,  0x116, 0x132, 0x155, 0x17A, 0x19E,
    0x1CB, 0x1FA, 0x227, 0x260, 0x2AA, 0x29B, 0x24A, 0x21B, 0x1E8, 0x1BA, 0x18F, 0x164, 0x13F, 0x11B, 0xFE,  0xDF,
    0xC7,  0xB4,  0xA4,  0x97,  0x93,  0x90,  0x92,  0x99,  0xA4,  0xB3,  0xC9,  0xE3,  0xFC,  0x11B, 0x13C, 0x160,
    0x188, 0x1B4, 0x1E5, 0x212, 0x248, 0x28D, 0x280, 0x234, 0x201, 0x1D0, 0x1A2, 0x175, 0x14B, 0x127, 0xFF,  0xE1,
    0xC3,  0xAC,  0x96,  0x87,  0x7C,  0x77,  0x74,  0x77,  0x7E,  0x88,  0x98,  0xAF,  0xC6,  0xE2,  0xFF,  0x123,
    0x148, 0x16E, 0x19D, 0x1CC, 0x1FA, 0x231, 0x278, 0x269, 0x21B, 0x1EB, 0x1BB, 0x188, 0x15E, 0x134, 0x10B, 0xE7,
    0xC8,  0xAB,  0x91,  0x7C,  0x6C,  0x60,  0x5A,  0x5B,  0x5D,  0x63,  0x6F,  0x7F,  0x96,  0xAD,  0xC9,  0xE7,
    0x10B, 0x12F, 0x157, 0x182, 0x1B3, 0x1E3, 0x21A, 0x261, 0x256, 0x20A, 0x1D9, 0x1A7, 0x178, 0x14A, 0x121, 0xF7,
    0xD4,  0xB1,  0x93,  0x7B,  0x67,  0x57,  0x4B,  0x46,  0x44,  0x46,  0x4D,  0x57,  0x69,  0x7F,  0x99,  0xB5,
    0xD3,  0xF5,  0x11C, 0x145, 0x170, 0x1A2, 0x1D2, 0x204, 0x24D, 0x24E, 0x200, 0x1CE, 0x199, 0x16A, 0x13D, 0x112,
    0xE8,  0xC2,  0xA1,  0x85,  0x6C,  0x58,  0x46,  0x3B,  0x35,  0x33,  0x34,  0x3C,  0x49,  0x5A,  0x6F,  0x8A,
    0xA5,  0xC6,  0xE8,  0x10F, 0x139, 0x164, 0x194, 0x1C4, 0x1FA, 0x240, 0x241, 0x1F5, 0x1BF, 0x18F, 0x15E, 0x12F,
    0x105, 0xDE,  0xB7,  0x95,  0x78,  0x5D,  0x49,  0x3B,  0x2E,  0x27,  0x26,  0x29,  0x2F,  0x3B,  0x4C,  0x63,
    0x7B,  0x9B,  0xBA,  0xDE,  0x104, 0x12F, 0x15A, 0x18A, 0x1BC, 0x1F3, 0x239, 0x23D, 0x1EB, 0x1BA, 0x187, 0x155,
    0x126, 0xFE,  0xD0,  0xA9,  0x87,  0x6A,  0x51,  0x3E,  0x2E,  0x23,  0x1D,  0x1C,  0x1F,  0x23,  0x30,  0x41,
    0x57,  0x71,  0x8F,  0xAF,  0xD4,  0xFB,  0x123, 0x152, 0x184, 0x1B7, 0x1E9, 0x230, 0x232, 0x1E5, 0x1B2, 0x17A,
    0x14B, 0x11D, 0xF1,  0xC9,  0xA1,  0x7E,  0x5E,  0x45,  0x33,  0x23,  0x19,  0x13,  0x13,  0x14,  0x1A,  0x26,
    0x36,  0x4D,  0x67,  0x85,  0xA5,  0xCC,  0xF2,  0x11C, 0x149, 0x178, 0x1AB, 0x1E3, 0x228, 0x226, 0x1DB, 0x1A7,
    0x176, 0x141, 0x112, 0xE8,  0xBE,  0x97,  0x75,  0x57,  0x3D,  0x28,  0x1A,  0x11,  0xB,   0x9,   0xB,   0x11,
    0x1D,  0x2C,  0x41,  0x5D,  0x7A,  0x9B,  0xC2,  0xE8,  0x111, 0x141, 0x170, 0x1A1, 0x1DB, 0x220, 0x21A, 0x1D1,
    0x19A, 0x16C, 0x13A, 0x10A, 0xDE,  0xB5,  0x8E,  0x6D,  0x4E,  0x37,  0x22,  0x13,  0x9,   0x5,   0x2,   0x5,
    0xA,   0x16,  0x24,  0x39,  0x53,  0x72,  0x93,  0xB6,  0xDF,  0x109, 0x139, 0x169, 0x19B, 0x1CF, 0x214, 0x21B,
    0x1CE, 0x19A, 0x167, 0x137, 0x109, 0xDB,  0xB2,  0x8D,  0x6A,  0x4C,  0x33,  0x1F,  0x11,  0x6,   0x2,   0x0,
    0x2,   0x8,   0x11,  0x20,  0x35,  0x4D,  0x6C,  0x8D,  0xB4,  0xDC,  0x106, 0x131, 0x161, 0x198, 0x1CD, 0x210,
    0x21F, 0x1D1, 0x19D, 0x16B, 0x13B, 0x10B, 0xDF,  0xB5,  0x8F,  0x6D,  0x4E,  0x34,  0x20,  0x13,  0xA,   0x4,
    0x2,   0x4,   0x9,   0x15,  0x25,  0x3A,  0x55,  0x72,  0x92,  0xB4,  0xDC,  0x109, 0x138, 0x169, 0x19D, 0x1CE,
    0x214, 0x21E, 0x1D5, 0x1A4, 0x170, 0x13E, 0x110, 0xE5,  0xBB,  0x95,  0x72,  0x54,  0x3A,  0x26,  0x17,  0xD,
    0x8,   0x6,   0x8,   0x10,  0x1B,  0x2B,  0x40,  0x59,  0x79,  0x9A,  0xBF,  0xE7,  0x110, 0x13D, 0x169, 0x19B,
    0x1D6, 0x21C, 0x22A, 0x1DD, 0x1A6, 0x173, 0x146, 0x118, 0xEB,  0xC1,  0x9B,  0x79,  0x5A,  0x40,  0x2D,  0x1D,
    0x14,  0xD,   0xD,   0xE,   0x16,  0x21,  0x32,  0x47,  0x61,  0x7F,  0xA1,  0xC7,  0xEE,  0x118, 0x145, 0x174,
    0x1A8, 0x1DE, 0x21B, 0x22C, 0x1E1, 0x1AE, 0x17A, 0x14C, 0x11D, 0xF2,  0xC8,  0xA2,  0x80,  0x62,  0x48,  0x33,
    0x25,  0x1A,  0x15,  0x13,  0x16,  0x1D,  0x29,  0x3A,  0x4F,  0x69,  0x8A,  0xA8,  0xCD,  0xF5,  0x11D, 0x14C,
    0x17A, 0x1AE, 0x1E4, 0x227, 0x22C, 0x1E4, 0x1B2, 0x17D, 0x14F, 0x122, 0xF8,  0xCF,  0xA9,  0x87,  0x6A,  0x51,
    0x3C,  0x2D,  0x22,  0x1C,  0x1A,  0x1D,  0x24,  0x30,  0x41,  0x57,  0x71,  0x8E,  0xAF,  0xD5,  0xFA,  0x125,
    0x150, 0x180, 0x1B3, 0x1E7, 0x22B, 0x233, 0x1E6, 0x1B4, 0x184, 0x155, 0x128, 0x101, 0xD8,  0xB2,  0x92,  0x76,
    0x5B,  0x46,  0x37,  0x2D,  0x25,  0x24,  0x28,  0x2E,  0x3C,  0x4C,  0x62,  0x7A,  0x97,  0xB8,  0xDE,  0x105,
    0x12C, 0x157, 0x186, 0x1B7, 0x1EF, 0x231, 0x240, 0x1F4, 0x1C3, 0x191, 0x162, 0x136, 0x10C, 0xE5,  0xC0,  0xA1,
    0x83,  0x6C,  0x56,  0x47,  0x3C,  0x37,  0x34,  0x37,  0x3E,  0x4B,  0x5C,  0x71,  0x8C,  0xA7,  0xC6,  0xEA,
    0x112, 0x13B, 0x163, 0x193, 0x1C5, 0x1FD, 0x240, 0x24C, 0x205, 0x1D3, 0x1A2, 0x174, 0x145, 0x11F, 0xF7,  0xD5,
    0xB5,  0x99,  0x80,  0x6B,  0x5A,  0x51,  0x4B,  0x49,  0x4D,  0x54,  0x60,  0x72,  0x86,  0x9E,  0xBB,  0xDA,
    0xFE,  0x124, 0x14C, 0x177, 0x1A4, 0x1D6, 0x20E, 0x24F, 0x261, 0x21A, 0x1E8, 0x1B9, 0x188, 0x15A, 0x135, 0x10F,
    0xED,  0xCC,  0xB0,  0x96,  0x82,  0x74,  0x69,  0x64,  0x62,  0x65,  0x6E,  0x79,  0x89,  0x9D,  0xB6,  0xD1,
    0xF2,  0x113, 0x139, 0x162, 0x18B, 0x1BA, 0x1E9, 0x223, 0x263, 0x271, 0x229, 0x1FA, 0x1C9, 0x19C, 0x170, 0x149,
    0x125, 0x101, 0xE3,  0xC6,  0xAF,  0x9C,  0x8B,  0x81,  0x7C,  0x7A,  0x7E,  0x84,  0x90,  0xA1,  0xB6,  0xCE,
    0xE8,  0x107, 0x128, 0x14D, 0x174, 0x19F, 0x1CC, 0x1FB, 0x237, 0x276, 0x282, 0x23B, 0x207, 0x1D9, 0x1AE, 0x183,
    0x15B, 0x138, 0x116, 0xF8,  0xDD,  0xC6,  0xB1,  0xA4,  0x99,  0x94,  0x92,  0x95,  0x9C,  0xA8,  0xB7,  0xCD,
    0xE3,  0xFF,  0x11C, 0x13D, 0x161, 0x188, 0x1B2, 0x1E1, 0x210, 0x247, 0x28C, 0x290, 0x24A, 0x218, 0x1E9, 0x1BC,
    0x195, 0x16E, 0x14B, 0x12C, 0x10B, 0xF2,  0xDC,  0xC9,  0xBC,  0xB1,  0xAC,  0xA9,  0xAB,  0xB3,  0xBD,  0xCF,
    0xE1,  0xF6,  0x111, 0x12F, 0x14F, 0x174, 0x199, 0x1C1, 0x1F2, 0x21F, 0x258, 0x2A3, 0x2A6, 0x25D, 0x22C, 0x1FB,
    0x1D1, 0x1A7, 0x183, 0x160, 0x141, 0x125, 0x109, 0xF4,  0xE1,  0xD6,  0xC7,  0xC5,  0xC3,  0xC6,  0xCD,  0xD5,
    0xE8,  0xFA,  0x10E, 0x12B, 0x145, 0x164, 0x18A, 0x1B0, 0x1D6, 0x202, 0x232, 0x26E, 0x2BC, 0x2C2, 0x277, 0x242,
    0x215, 0x1EA, 0x1C2, 0x19E, 0x17C, 0x15B, 0x140, 0x126, 0x111, 0xFF,  0xF0,  0xE8,  0xE2,  0xE2,  0xE3,  0xEA,
    0xF7,  0x105, 0x115, 0x12B, 0x145, 0x162, 0x183, 0x1A2, 0x1CA, 0x1F1, 0x21B, 0x24E, 0x288, 0x2D2, 0x2EB, 0x296,
    0x261, 0x234, 0x209, 0x1E3, 0x1BD, 0x19C, 0x17E, 0x162, 0x148, 0x133, 0x123, 0x116, 0x10C, 0x104, 0x105, 0x104,
    0x10E, 0x118, 0x125, 0x138, 0x14B, 0x166, 0x180, 0x1A0, 0x1C3, 0x1E8, 0x214, 0x23E, 0x26E, 0x2B0, 0x303, 0x311,
    0x2BF, 0x28A, 0x258, 0x22D, 0x205, 0x1E0, 0x1BD, 0x1A1, 0x185, 0x16E, 0x158, 0x146, 0x13A, 0x131, 0x12F, 0x129,
    0x12B, 0x131, 0x13E, 0x14D, 0x15E, 0x171, 0x189, 0x1A3, 0x1C6, 0x1EA, 0x20C, 0x238, 0x261, 0x298, 0x2DB, 0x335,
    0x337, 0x2F3, 0x2B5, 0x281, 0x25D, 0x233, 0x20D, 0x1EB, 0x1CD, 0x1B4, 0x199, 0x187, 0x174, 0x167, 0x15C, 0x15A,
    0x154, 0x157, 0x161, 0x16A, 0x176, 0x18A, 0x19A, 0x1B4, 0x1CF, 0x1ED, 0x20E, 0x234, 0x261, 0x294, 0x2C7, 0x311,
    0x35D,
            },
        },

        {
            /* Rgain */
            {
                0x399, 0x340, 0x2df, 0x289, 0x23e, 0x207, 0x1cd, 0x193, 0x170, 0x15f, 0x135, 0x113, 0xfc,  0xea,  0xdb,
                0xdd,  0xda,  0xd9,  0xe4,  0xee,  0xfd,  0x114, 0x12f, 0x14b, 0x16e, 0x19d, 0x1d4, 0x209, 0x24e, 0x29b,
                0x2ee, 0x364, 0x3e2, 0x38f, 0x329, 0x2c6, 0x276, 0x22a, 0x1ed, 0x1b5, 0x181, 0x15f, 0x147, 0x121, 0x102,
                0xf0,  0xd9,  0xd0,  0xc6,  0xc7,  0xcb,  0xd2,  0xdc,  0xee,  0x100, 0x11e, 0x138, 0x164, 0x18c, 0x1bb,
                0x1f4, 0x243, 0x286, 0x2d7, 0x341, 0x3a7, 0x372, 0x309, 0x2b0, 0x259, 0x20f, 0x1d6, 0x19a, 0x16c, 0x140,
                0x130, 0x109, 0xef,  0xdc,  0xc4,  0xb7,  0xb1,  0xaf,  0xb9,  0xbe,  0xc2,  0xd5,  0xeb,  0x105, 0x122,
                0x14c, 0x17a, 0x1a4, 0x1de, 0x225, 0x26f, 0x2b8, 0x319, 0x384, 0x355, 0x2ed, 0x290, 0x242, 0x1f7, 0x1bb,
                0x18a, 0x154, 0x12e, 0x10f, 0xee,  0xd8,  0xc6,  0xaf,  0xa7,  0x9b,  0x9c,  0xa6,  0xaa,  0xaf,  0xbe,
                0xd8,  0xf7,  0x110, 0x13a, 0x166, 0x191, 0x1c8, 0x216, 0x259, 0x2a3, 0x302, 0x365, 0x32a, 0x2d8, 0x276,
                0x229, 0x1e3, 0x1a6, 0x174, 0x140, 0x11c, 0xf6,  0xda,  0xc6,  0xaf,  0x9d,  0x92,  0x89,  0x88,  0x91,
                0x97,  0x9c,  0xac,  0xcb,  0xec,  0x102, 0x125, 0x150, 0x180, 0x1b6, 0x200, 0x247, 0x289, 0x2e8, 0x34f,
                0x30f, 0x2bb, 0x267, 0x213, 0x1cc, 0x194, 0x160, 0x130, 0x10d, 0xeb,  0xcc,  0xb1,  0x99,  0x87,  0x7c,
                0x77,  0x74,  0x79,  0x82,  0x8c,  0x9a,  0xba,  0xd7,  0xed,  0x115, 0x13c, 0x170, 0x1a4, 0x1e4, 0x22c,
                0x277, 0x2d2, 0x32a, 0x2f6, 0x2a9, 0x24f, 0x1ff, 0x1bd, 0x185, 0x14b, 0x124, 0xfd,  0xdb,  0xba,  0xa0,
                0x89,  0x76,  0x6c,  0x62,  0x61,  0x65,  0x71,  0x7b,  0x89,  0xa4,  0xc6,  0xde,  0x107, 0x129, 0x15a,
                0x191, 0x1c7, 0x213, 0x262, 0x2b4, 0x319, 0x2de, 0x28d, 0x23f, 0x1ef, 0x1b2, 0x179, 0x142, 0x114, 0xed,
                0xce,  0xa9,  0x8e,  0x79,  0x66,  0x5c,  0x51,  0x4f,  0x53,  0x5e,  0x6a,  0x76,  0x94,  0xae,  0xcf,
                0xf9,  0x11c, 0x14b, 0x17c, 0x1bf, 0x204, 0x248, 0x2a0, 0x2f5, 0x2c9, 0x282, 0x229, 0x1e0, 0x1a5, 0x16e,
                0x135, 0x109, 0xdb,  0xb8,  0x9b,  0x7d,  0x6a,  0x57,  0x4a,  0x41,  0x3f,  0x41,  0x4e,  0x5b,  0x6c,
                0x88,  0xa5,  0xc9,  0xeb,  0x112, 0x13e, 0x16f, 0x1b1, 0x1f5, 0x23d, 0x293, 0x2e3, 0x2bf, 0x271, 0x21c,
                0x1d1, 0x199, 0x15e, 0x129, 0xf9,  0xcf,  0xab,  0x92,  0x72,  0x5b,  0x47,  0x3b,  0x31,  0x2f,  0x32,
                0x3f,  0x4b,  0x60,  0x7b,  0x9c,  0xc1,  0xe7,  0x105, 0x136, 0x166, 0x1a6, 0x1ea, 0x232, 0x28d, 0x2d4,
                0x2b9, 0x262, 0x211, 0x1c7, 0x187, 0x14e, 0x11b, 0xef,  0xc9,  0xa2,  0x81,  0x63,  0x4d,  0x39,  0x2b,
                0x21,  0x21,  0x26,  0x2f,  0x3e,  0x58,  0x70,  0x8f,  0xb5,  0xda,  0xfb,  0x12a, 0x15c, 0x196, 0x1e1,
                0x229, 0x283, 0x2c8, 0x2ab, 0x25a, 0x205, 0x1bd, 0x178, 0x145, 0x111, 0xe8,  0xc1,  0x9a,  0x76,  0x5b,
                0x40,  0x2c,  0x1b,  0x15,  0x12,  0x19,  0x26,  0x36,  0x4e,  0x69,  0x80,  0xaa,  0xce,  0xf3,  0x122,
                0x153, 0x18a, 0x1d6, 0x21e, 0x277, 0x2c4, 0x29c, 0x24e, 0x1fb, 0x1b0, 0x16e, 0x13c, 0x10d, 0xe0,  0xb5,
                0x92,  0x6e,  0x53,  0x37,  0x1f,  0x11,  0x8,   0x7,   0x10,  0x1a,  0x2d,  0x46,  0x61,  0x7b,  0x9c,
                0xc3,  0xee,  0x118, 0x14a, 0x187, 0x1ca, 0x210, 0x268, 0x2b7, 0x291, 0x241, 0x1f2, 0x1ad, 0x170, 0x13a,
                0x10a, 0xdd,  0xb1,  0x8c,  0x69,  0x49,  0x30,  0x1c,  0xc,   0x1,   0x0,   0x8,   0x13,  0x26,  0x3f,
                0x58,  0x77,  0x97,  0xbc,  0xe9,  0x114, 0x146, 0x17c, 0x1c6, 0x20c, 0x261, 0x2aa, 0x2bc, 0x23c, 0x1f5,
                0x1b0, 0x16b, 0x134, 0x106, 0xde,  0xb1,  0x88,  0x61,  0x44,  0x2e,  0x17,  0x4,   0x0,   0x0,   0x4,
                0xe,   0x20,  0x3a,  0x54,  0x71,  0x95,  0xba,  0xe5,  0x113, 0x141, 0x17f, 0x1bd, 0x206, 0x258, 0x2a4,
                0x31e, 0x258, 0x1f8, 0x1ad, 0x168, 0x12f, 0x102, 0xd9,  0xaf,  0x84,  0x63,  0x44,  0x2d,  0x12,  0x3,
                0x5,   0x3,   0x1,   0xb,   0x1d,  0x36,  0x53,  0x6f,  0x92,  0xb2,  0xe5,  0x110, 0x13e, 0x17b, 0x1c1,
                0x204, 0x257, 0x2a7, 0x33a, 0x276, 0x1f3, 0x1a9, 0x165, 0x12f, 0xfd,  0xd3,  0xab,  0x85,  0x62,  0x44,
                0x2d,  0x13,  0x2,   0x3,   0x3,   0x2,   0x8,   0x1d,  0x35,  0x4d,  0x6e,  0x93,  0xb6,  0xe5,  0x10f,
                0x141, 0x179, 0x1ba, 0x202, 0x259, 0x29f, 0x336, 0x260, 0x1ef, 0x1a7, 0x166, 0x12b, 0xfd,  0xd3,  0xa7,
                0x85,  0x60,  0x42,  0x2e,  0x15,  0x5,   0x2,   0x3,   0x3,   0x9,   0x1d,  0x35,  0x4f,  0x6b,  0x91,
                0xb7,  0xe3,  0x111, 0x13f, 0x175, 0x1ba, 0x202, 0x255, 0x29b, 0x2f0, 0x239, 0x1e6, 0x1a5, 0x165, 0x12e,
                0x103, 0xd4,  0xac,  0x87,  0x63,  0x48,  0x30,  0x18,  0x7,   0x2,   0x1,   0x5,   0xb,   0x20,  0x36,
                0x51,  0x70,  0x96,  0xb8,  0xe4,  0x112, 0x13f, 0x176, 0x1b8, 0x208, 0x256, 0x2a4, 0x2a9, 0x256, 0x1ef,
                0x1aa, 0x16d, 0x134, 0x104, 0xda,  0xaf,  0x8b,  0x67,  0x4c,  0x31,  0x1d,  0xb,   0x5,   0x4,   0x8,
                0x10,  0x22,  0x3b,  0x55,  0x73,  0x94,  0xbb,  0xe6,  0x116, 0x144, 0x179, 0x1ba, 0x208, 0x25d, 0x2ad,
                0x2d2, 0x296, 0x1f4, 0x1b0, 0x171, 0x136, 0x106, 0xdc,  0xb6,  0x91,  0x70,  0x51,  0x38,  0x24,  0x15,
                0xb,   0xa,   0xd,   0x18,  0x28,  0x40,  0x5b,  0x78,  0x99,  0xbf,  0xed,  0x11c, 0x14b, 0x181, 0x1c3,
                0x20c, 0x267, 0x2ac, 0x2e8, 0x2ae, 0x1f8, 0x1b5, 0x175, 0x13e, 0x10e, 0xe4,  0xbc,  0x96,  0x78,  0x58,
                0x40,  0x2a,  0x1d,  0x17,  0x14,  0x1a,  0x24,  0x32,  0x46,  0x63,  0x7e,  0xa2,  0xc5,  0xf1,  0x11e,
                0x151, 0x188, 0x1c8, 0x213, 0x26e, 0x2b8, 0x2d0, 0x2a0, 0x202, 0x1bf, 0x17e, 0x144, 0x118, 0xec,  0xc0,
                0x9f,  0x7c,  0x60,  0x4a,  0x37,  0x2e,  0x2c,  0x1d,  0x23,  0x2e,  0x3d,  0x4f,  0x6b,  0x87,  0xad,
                0xcd,  0xf7,  0x122, 0x157, 0x190, 0x1ce, 0x21a, 0x271, 0x2bb, 0x2b0, 0x278, 0x20a, 0x1c6, 0x186, 0x14f,
                0x120, 0xf5,  0xcc,  0xa8,  0x89,  0x70,  0x58,  0x45,  0x41,  0x39,  0x2d,  0x30,  0x3a,  0x4b,  0x5e,
                0x74,  0x91,  0xb8,  0xd4,  0xfe,  0x133, 0x167, 0x19b, 0x1de, 0x220, 0x277, 0x2c7, 0x2be, 0x26f, 0x216,
                0x1dc, 0x194, 0x158, 0x12d, 0x101, 0xd9,  0xb5,  0x99,  0x78,  0x64,  0x53,  0x49,  0x47,  0x3d,  0x3d,
                0x48,  0x57,  0x68,  0x7f,  0x9d,  0xc0,  0xdd,  0x108, 0x13f, 0x16d, 0x1a3, 0x1e7, 0x229, 0x281, 0x2cf,
                0x2d2, 0x284, 0x225, 0x1e9, 0x1a8, 0x166, 0x136, 0x108, 0xe4,  0xc5,  0xa2,  0x87,  0x71,  0x63,  0x54,
                0x55,  0x4c,  0x4f,  0x58,  0x63,  0x79,  0x8c,  0xab,  0xca,  0xec,  0x116, 0x146, 0x174, 0x1ad, 0x1f2,
                0x23b, 0x291, 0x2e1, 0x2e4, 0x299, 0x236, 0x1f8, 0x1bb, 0x173, 0x144, 0x119, 0xf0,  0xcf,  0xb5,  0x9a,
                0x81,  0x72,  0x63,  0x5d,  0x62,  0x5f,  0x66,  0x74,  0x86,  0x9f,  0xb7,  0xd6,  0xfb,  0x11f, 0x14e,
                0x184, 0x1be, 0x1ff, 0x249, 0x2a3, 0x2ed, 0x2f4, 0x2a6, 0x256, 0x203, 0x1c0, 0x184, 0x156, 0x122, 0x100,
                0xe1,  0xc0,  0xa8,  0x95,  0x7f,  0x73,  0x70,  0x71,  0x6f,  0x78,  0x83,  0x93,  0xab,  0xc4,  0xe3,
                0x107, 0x12f, 0x161, 0x196, 0x1ce, 0x213, 0x25c, 0x2b2, 0x306, 0x30c, 0x2b8, 0x26c, 0x214, 0x1ce, 0x19b,
                0x164, 0x135, 0x110, 0xf2,  0xd4,  0xb9,  0xa4,  0x93,  0x86,  0x82,  0x7f,  0x7f,  0x86,  0x96,  0xa6,
                0xbd,  0xd7,  0xf2,  0x115, 0x140, 0x171, 0x1a6, 0x1da, 0x224, 0x270, 0x2c7, 0x31c, 0x322, 0x2cd, 0x27f,
                0x228, 0x1e2, 0x1ac, 0x177, 0x148, 0x123, 0x101, 0xe6,  0xcd,  0xb2,  0xa5,  0x99,  0x92,  0x8e,  0x90,
                0x9c,  0xa7,  0xb6,  0xce,  0xe8,  0x101, 0x127, 0x14f, 0x181, 0x1b9, 0x1f7, 0x23c, 0x287, 0x2df, 0x338,
                0x339, 0x2e8, 0x28d, 0x23c, 0x1fb, 0x1c0, 0x18d, 0x159, 0x133, 0x113, 0xf6,  0xdb,  0xc5,  0xba,  0xaa,
                0xa3,  0xa1,  0xa5,  0xae,  0xbb,  0xca,  0xde,  0xf8,  0x115, 0x138, 0x164, 0x195, 0x1e0, 0x210, 0x250,
                0x2a1, 0x2fb, 0x355, 0x35c, 0x309, 0x2a6, 0x257, 0x216, 0x1d3, 0x19d, 0x171, 0x144, 0x128, 0x107, 0xf1,
                0xdf,  0xce,  0xc2,  0xb8,  0xb4,  0xba,  0xc0,  0xcf,  0xdf,  0xf2,  0x10d, 0x128, 0x152, 0x177, 0x1b8,
                0x1fe, 0x228, 0x26e, 0x2bd, 0x316, 0x376, 0x37f, 0x318, 0x2be, 0x26e, 0x229, 0x1e5, 0x1b1, 0x17c, 0x159,
                0x137, 0x118, 0x100, 0xeb,  0xdc,  0xd3,  0xc6,  0xc6,  0xcc,  0xd4,  0xdd,  0xed,  0x102, 0x11f, 0x138,
                0x15d, 0x18b, 0x1cd, 0x207, 0x23d, 0x27d, 0x2cc, 0x331, 0x388,
            },

            /* Grgain */
            {
                0x324, 0x2cf, 0x279, 0x22e, 0x1f5, 0x1c7, 0x191, 0x168, 0x148, 0x136, 0x113, 0xf4,  0xe4,  0xd4,  0xcd,
                0xc9,  0xc9,  0xcc,  0xd4,  0xe2,  0xf2,  0x103, 0x11f, 0x139, 0x164, 0x186, 0x1b6, 0x1eb, 0x22c, 0x270,
                0x2ba, 0x321, 0x392, 0x30d, 0x2b7, 0x267, 0x220, 0x1e1, 0x1b4, 0x183, 0x156, 0x13a, 0x126, 0x105, 0xe6,
                0xd7,  0xc3,  0xbd,  0xb8,  0xb7,  0xbf,  0xc5,  0xd0,  0xe4,  0xf3,  0x10e, 0x12b, 0x151, 0x17a, 0x1a5,
                0x1d8, 0x21f, 0x260, 0x2a7, 0x305, 0x367, 0x2f1, 0x29d, 0x250, 0x207, 0x1cb, 0x19a, 0x16c, 0x141, 0x11f,
                0x10f, 0xe9,  0xd6,  0xc2,  0xae,  0xa8,  0xa5,  0xa5,  0xae,  0xb1,  0xba,  0xcf,  0xe0,  0xfa,  0x115,
                0x13d, 0x16a, 0x193, 0x1c0, 0x208, 0x245, 0x28d, 0x2eb, 0x349, 0x2d2, 0x284, 0x238, 0x1f8, 0x1b8, 0x182,
                0x15b, 0x130, 0x109, 0xec,  0xd6,  0xc5,  0xb1,  0x9c,  0x92,  0x8f,  0x8d,  0x97,  0xa0,  0xa6,  0xb8,
                0xd1,  0xef,  0x106, 0x12c, 0x155, 0x17c, 0x1ae, 0x1f5, 0x235, 0x275, 0x2cd, 0x32d, 0x2b8, 0x26d, 0x225,
                0x1e2, 0x1a9, 0x173, 0x148, 0x11f, 0xfa,  0xdf,  0xc5,  0xaf,  0x9c,  0x89,  0x80,  0x7c,  0x7e,  0x88,
                0x8e,  0x96,  0xa5,  0xc5,  0xe3,  0xf7,  0x11b, 0x142, 0x16e, 0x1a1, 0x1e6, 0x227, 0x266, 0x2b8, 0x316,
                0x29c, 0x259, 0x213, 0x1cf, 0x197, 0x165, 0x138, 0x111, 0xf1,  0xd0,  0xb4,  0x9e,  0x8b,  0x7b,  0x71,
                0x6a,  0x6d,  0x72,  0x7d,  0x85,  0x94,  0xb3,  0xd1,  0xe8,  0x10b, 0x134, 0x15e, 0x192, 0x1d1, 0x210,
                0x255, 0x2a7, 0x2fe, 0x28b, 0x247, 0x201, 0x1bf, 0x18e, 0x15b, 0x12a, 0x104, 0xe4,  0xc4,  0xa5,  0x8e,
                0x79,  0x6b,  0x60,  0x5b,  0x59,  0x5d,  0x6a,  0x77,  0x85,  0xa0,  0xbf,  0xd8,  0xfe,  0x120, 0x151,
                0x183, 0x1b7, 0x1f8, 0x243, 0x28e, 0x2e3, 0x27a, 0x239, 0x1ef, 0x1b4, 0x183, 0x151, 0x11b, 0xf6,  0xd3,
                0xb5,  0x96,  0x7d,  0x6b,  0x5b,  0x4d,  0x49,  0x49,  0x4b,  0x58,  0x66,  0x77,  0x94,  0xaa,  0xc9,
                0xf3,  0x115, 0x143, 0x176, 0x1aa, 0x1e7, 0x231, 0x281, 0x2cc, 0x26b, 0x22a, 0x1e5, 0x1a6, 0x174, 0x144,
                0x111, 0xe8,  0xc4,  0xa5,  0x88,  0x70,  0x5d,  0x4d,  0x40,  0x39,  0x39,  0x3e,  0x4a,  0x59,  0x69,
                0x86,  0xa2,  0xca,  0xea,  0x10b, 0x137, 0x168, 0x19e, 0x1dd, 0x223, 0x272, 0x2b8, 0x25d, 0x21c, 0x1d8,
                0x199, 0x168, 0x137, 0x107, 0xe0,  0xbc,  0x9b,  0x81,  0x66,  0x51,  0x40,  0x33,  0x2c,  0x2d,  0x2d,
                0x3c,  0x4c,  0x5f,  0x7b,  0x9a,  0xc2,  0xe2,  0x100, 0x131, 0x15d, 0x196, 0x1d6, 0x21d, 0x26b, 0x2ad,
                0x253, 0x214, 0x1cd, 0x18f, 0x159, 0x12c, 0xfc,  0xd7,  0xb2,  0x93,  0x73,  0x59,  0x43,  0x34,  0x26,
                0x20,  0x1e,  0x22,  0x30,  0x3f,  0x57,  0x70,  0x90,  0xb8,  0xd8,  0xf7,  0x124, 0x154, 0x188, 0x1d0,
                0x211, 0x262, 0x2a4, 0x24f, 0x208, 0x1c2, 0x189, 0x150, 0x121, 0xf4,  0xd0,  0xac,  0x89,  0x6b,  0x4e,
                0x3b,  0x28,  0x18,  0x15,  0xf,   0x18,  0x25,  0x36,  0x50,  0x69,  0x83,  0xac,  0xcb,  0xef,  0x11e,
                0x14b, 0x180, 0x1c7, 0x206, 0x25a, 0x2a3, 0x247, 0x201, 0x1bd, 0x180, 0x14c, 0x119, 0xf2,  0xcb,  0xa4,
                0x82,  0x65,  0x47,  0x31,  0x1d,  0x10,  0x8,   0x6,   0xe,   0x1a,  0x2f,  0x49,  0x61,  0x7c,  0x9e,
                0xc3,  0xec,  0x116, 0x143, 0x17a, 0x1c0, 0x201, 0x24c, 0x292, 0x23a, 0x1f7, 0x1b8, 0x17b, 0x146, 0x116,
                0xf0,  0xc8,  0xa2,  0x7e,  0x5e,  0x43,  0x2c,  0x17,  0x7,   0x0,   0x0,   0x8,   0x16,  0x28,  0x43,
                0x59,  0x77,  0x99,  0xbc,  0xe4,  0x113, 0x141, 0x178, 0x1b7, 0x1fa, 0x246, 0x28c, 0x263, 0x1f3, 0x1b6,
                0x17e, 0x141, 0x114, 0xec,  0xc6,  0xa1,  0x7a,  0x5a,  0x3e,  0x26,  0xf,   0x3,   0x2,   0x1,   0x4,
                0xf,   0x22,  0x3f,  0x56,  0x74,  0x96,  0xb9,  0xe2,  0x111, 0x13d, 0x172, 0x1b3, 0x1f3, 0x240, 0x285,
                0x2c8, 0x207, 0x1b7, 0x17e, 0x13f, 0x112, 0xe8,  0xc4,  0x9e,  0x77,  0x56,  0x3b,  0x24,  0xe,   0x2,
                0x6,   0x1,   0x1,   0xb,   0x21,  0x3b,  0x52,  0x70,  0x97,  0xb8,  0xe2,  0x111, 0x13c, 0x171, 0x1b3,
                0x1ed, 0x240, 0x27f, 0x2dc, 0x224, 0x1b4, 0x17b, 0x13e, 0x10d, 0xe6,  0xbf,  0x98,  0x76,  0x56,  0x3c,
                0x25,  0x10,  0x1,   0x6,   0x5,   0x4,   0xb,   0x1f,  0x38,  0x51,  0x71,  0x94,  0xb8,  0xe3,  0x10e,
                0x13d, 0x16f, 0x1b2, 0x1ed, 0x23e, 0x281, 0x2d0, 0x20f, 0x1b3, 0x17b, 0x140, 0x112, 0xe5,  0xbe,  0x98,
                0x77,  0x57,  0x3c,  0x27,  0x14,  0x3,   0x3,   0x2,   0x5,   0xb,   0x20,  0x38,  0x52,  0x73,  0x93,
                0xb7,  0xe3,  0x10e, 0x13a, 0x16e, 0x1b0, 0x1ef, 0x23f, 0x27e, 0x291, 0x1f1, 0x1af, 0x177, 0x142, 0x111,
                0xe5,  0xc3,  0x9d,  0x79,  0x5a,  0x3d,  0x2b,  0x13,  0x7,   0x2,   0x2,   0x6,   0xe,   0x22,  0x3c,
                0x54,  0x74,  0x96,  0xbb,  0xe6,  0x10f, 0x13c, 0x170, 0x1b1, 0x1f0, 0x23f, 0x27f, 0x251, 0x209, 0x1b6,
                0x17d, 0x144, 0x116, 0xe9,  0xc5,  0x9f,  0x7e,  0x5f,  0x44,  0x2d,  0x1a,  0xa,   0x5,   0x7,   0x9,
                0x13,  0x28,  0x3f,  0x5a,  0x75,  0x99,  0xbb,  0xe8,  0x112, 0x13d, 0x176, 0x1b2, 0x1f4, 0x245, 0x287,
                0x28d, 0x244, 0x1b7, 0x17f, 0x14b, 0x118, 0xee,  0xc7,  0xa5,  0x83,  0x64,  0x4c,  0x35,  0x22,  0x13,
                0xd,   0xa,   0xf,   0x1c,  0x2d,  0x42,  0x5e,  0x7d,  0x9d,  0xbe,  0xed,  0x116, 0x145, 0x17b, 0x1b6,
                0x1f8, 0x24a, 0x28c, 0x29f, 0x259, 0x1bb, 0x184, 0x14f, 0x11f, 0xf4,  0xcd,  0xa7,  0x8c,  0x6e,  0x52,
                0x3d,  0x29,  0x1c,  0x19,  0x14,  0x1a,  0x26,  0x36,  0x4a,  0x65,  0x84,  0xa7,  0xc8,  0xef,  0x11e,
                0x14d, 0x181, 0x1b9, 0x200, 0x252, 0x296, 0x27e, 0x253, 0x1c3, 0x18a, 0x156, 0x126, 0xfc,  0xd8,  0xb1,
                0x96,  0x76,  0x5b,  0x46,  0x34,  0x2e,  0x2d,  0x1f,  0x26,  0x2f,  0x3f,  0x55,  0x6c,  0x8c,  0xb3,
                0xd1,  0xf2,  0x127, 0x154, 0x185, 0x1c3, 0x207, 0x254, 0x2a5, 0x254, 0x220, 0x1d0, 0x195, 0x15b, 0x12d,
                0x105, 0xe0,  0xba,  0x9d,  0x7f,  0x66,  0x52,  0x3f,  0x40,  0x39,  0x30,  0x31,  0x3e,  0x4f,  0x63,
                0x78,  0x98,  0xb9,  0xd8,  0xfe,  0x135, 0x162, 0x18e, 0x1cc, 0x20c, 0x25e, 0x2a0, 0x265, 0x222, 0x1d8,
                0x1a8, 0x169, 0x134, 0x111, 0xe7,  0xc5,  0xa7,  0x8a,  0x71,  0x5c,  0x4e,  0x49,  0x48,  0x3f,  0x40,
                0x4c,  0x5c,  0x6e,  0x81,  0xa0,  0xc2,  0xe2,  0x107, 0x13b, 0x169, 0x199, 0x1d5, 0x215, 0x268, 0x2ac,
                0x277, 0x235, 0x1e4, 0x1b6, 0x179, 0x141, 0x11a, 0xf4,  0xd1,  0xb3,  0x99,  0x7d,  0x6c,  0x5c,  0x51,
                0x53,  0x4f,  0x4f,  0x5a,  0x69,  0x7a,  0x8f,  0xab,  0xcb,  0xec,  0x112, 0x145, 0x16f, 0x1a6, 0x1e1,
                0x221, 0x270, 0x2bd, 0x282, 0x244, 0x1f2, 0x1c0, 0x188, 0x14f, 0x125, 0xff,  0xde,  0xbe,  0xa5,  0x8f,
                0x79,  0x6c,  0x5e,  0x5e,  0x63,  0x60,  0x67,  0x75,  0x89,  0xa0,  0xb8,  0xd8,  0xf8,  0x11e, 0x14c,
                0x178, 0x1ae, 0x1ec, 0x231, 0x282, 0x2cb, 0x293, 0x24c, 0x20d, 0x1cb, 0x18f, 0x15e, 0x130, 0x10b, 0xea,
                0xce,  0xb3,  0x9d,  0x8c,  0x7a,  0x70,  0x70,  0x70,  0x70,  0x76,  0x87,  0x96,  0xae,  0xc7,  0xe3,
                0x106, 0x12d, 0x15b, 0x18a, 0x1bb, 0x1f9, 0x242, 0x28f, 0x2dc, 0x2a6, 0x25e, 0x221, 0x1d6, 0x19c, 0x16e,
                0x141, 0x11a, 0xfb,  0xdd,  0xc2,  0xad,  0x9a,  0x8b,  0x82,  0x7e,  0x7d,  0x7c,  0x88,  0x97,  0xa6,
                0xbd,  0xd6,  0xf3,  0x114, 0x13b, 0x168, 0x197, 0x1cd, 0x209, 0x257, 0x2a7, 0x2f4, 0x2b9, 0x271, 0x230,
                0x1e8, 0x1b0, 0x17d, 0x152, 0x12a, 0x10d, 0xee,  0xd4,  0xbf,  0xaa,  0x9c,  0x93,  0x90,  0x8e,  0x90,
                0x99,  0xa8,  0xb8,  0xce,  0xe6,  0x103, 0x124, 0x14d, 0x179, 0x1ad, 0x1e0, 0x21e, 0x268, 0x2b7, 0x306,
                0x2cd, 0x291, 0x240, 0x1fc, 0x1c2, 0x190, 0x166, 0x13c, 0x11e, 0xfe,  0xe7,  0xcf,  0xbc,  0xb1,  0xa8,
                0xa3,  0xa0,  0xa3,  0xac,  0xba,  0xca,  0xe0,  0xf7,  0x114, 0x138, 0x15e, 0x18a, 0x1d0, 0x1f8, 0x233,
                0x27d, 0x2cf, 0x31d, 0x2ef, 0x2a9, 0x257, 0x213, 0x1db, 0x1a8, 0x178, 0x151, 0x12d, 0x111, 0xf8,  0xe4,
                0xd4,  0xc7,  0xbb,  0xb2,  0xb6,  0xb5,  0xc1,  0xcd,  0xdf,  0xf2,  0x10b, 0x126, 0x14c, 0x173, 0x1ac,
                0x1ee, 0x20f, 0x250, 0x295, 0x2ea, 0x33b, 0x317, 0x2b7, 0x268, 0x228, 0x1ef, 0x1b5, 0x189, 0x161, 0x13b,
                0x121, 0x106, 0xf0,  0xde,  0xd7,  0xc9,  0xc2,  0xc3,  0xc8,  0xd3,  0xd9,  0xed,  0x100, 0x119, 0x133,
                0x15a, 0x189, 0x1c1, 0x1fd, 0x221, 0x260, 0x2a9, 0x302, 0x357,
            },

            /* Gbgain */
            {
                0x32b, 0x2cd, 0x277, 0x232, 0x1f2, 0x1c6, 0x18f, 0x166, 0x148, 0x136, 0x116, 0xf5,  0xe3,  0xd5,  0xc9,
                0xc8,  0xc9,  0xc9,  0xd5,  0xdf,  0xf1,  0x102, 0x11c, 0x138, 0x15a, 0x187, 0x1b4, 0x1e7, 0x22d, 0x270,
                0x2bd, 0x323, 0x38d, 0x313, 0x2b9, 0x267, 0x21e, 0x1e1, 0x1b1, 0x182, 0x154, 0x13b, 0x124, 0x104, 0xe7,
                0xd9,  0xc5,  0xbb,  0xb4,  0xb6,  0xbf,  0xc4,  0xd1,  0xe3,  0xf4,  0x10d, 0x12b, 0x151, 0x178, 0x1a4,
                0x1d7, 0x21b, 0x25d, 0x2a6, 0x306, 0x367, 0x2f4, 0x29e, 0x24d, 0x20b, 0x1ca, 0x198, 0x16d, 0x141, 0x11b,
                0x10d, 0xea,  0xd1,  0xc4,  0xb1,  0xa8,  0xa3,  0xa3,  0xb0,  0xb3,  0xb9,  0xc9,  0xdf,  0xfb,  0x116,
                0x13d, 0x168, 0x190, 0x1c2, 0x204, 0x243, 0x28e, 0x2ec, 0x348, 0x2da, 0x285, 0x239, 0x1f6, 0x1b9, 0x187,
                0x15a, 0x12d, 0x10a, 0xef,  0xd3,  0xbf,  0xb0,  0x9e,  0x92,  0x8e,  0x91,  0x9a,  0x9f,  0xa6,  0xb6,
                0xce,  0xeb,  0x102, 0x12d, 0x159, 0x17b, 0x1b3, 0x1f7, 0x235, 0x27b, 0x2d0, 0x32a, 0x2b8, 0x26e, 0x221,
                0x1e4, 0x1a8, 0x176, 0x149, 0x11e, 0xfe,  0xdf,  0xc5,  0xaf,  0x9b,  0x8c,  0x80,  0x7e,  0x7a,  0x89,
                0x8e,  0x98,  0xa6,  0xc4,  0xe2,  0xf5,  0x119, 0x142, 0x16f, 0x19f, 0x1e4, 0x227, 0x269, 0x2ba, 0x315,
                0x2a3, 0x25b, 0x213, 0x1d0, 0x193, 0x163, 0x137, 0x10e, 0xee,  0xd2,  0xb5,  0xa0,  0x8a,  0x7a,  0x71,
                0x6b,  0x6a,  0x71,  0x7c,  0x84,  0x95,  0xb2,  0xcf,  0xe9,  0x109, 0x133, 0x160, 0x18e, 0x1cd, 0x210,
                0x253, 0x2a1, 0x2fb, 0x28e, 0x249, 0x201, 0x1bf, 0x18a, 0x157, 0x12d, 0x103, 0xe3,  0xc4,  0xa2,  0x8e,
                0x78,  0x69,  0x60,  0x5a,  0x58,  0x5d,  0x6c,  0x76,  0x86,  0xa1,  0xc0,  0xdb,  0xfc,  0x11f, 0x14e,
                0x182, 0x1b9, 0x1f8, 0x242, 0x290, 0x2e7, 0x279, 0x238, 0x1ef, 0x1b4, 0x180, 0x152, 0x123, 0xf5,  0xd4,
                0xb5,  0x95,  0x7e,  0x6b,  0x59,  0x50,  0x48,  0x47,  0x4e,  0x58,  0x66,  0x75,  0x92,  0xaa,  0xca,
                0xf1,  0x114, 0x13f, 0x171, 0x1ab, 0x1e9, 0x233, 0x27f, 0x2c9, 0x270, 0x22b, 0x1e1, 0x1a5, 0x178, 0x147,
                0x115, 0xea,  0xc5,  0xa5,  0x8a,  0x73,  0x5e,  0x4d,  0x41,  0x3b,  0x3a,  0x3d,  0x4b,  0x59,  0x6a,
                0x84,  0xa2,  0xc5,  0xe7,  0x10c, 0x136, 0x165, 0x19e, 0x1de, 0x225, 0x271, 0x2bd, 0x268, 0x222, 0x1da,
                0x19f, 0x168, 0x137, 0x108, 0xdf,  0xbb,  0x9a,  0x7f,  0x64,  0x52,  0x40,  0x35,  0x2c,  0x2c,  0x2d,
                0x3d,  0x4b,  0x5f,  0x7a,  0x9b,  0xc2,  0xe1,  0x101, 0x12e, 0x15c, 0x198, 0x1d9, 0x21e, 0x26a, 0x2ae,
                0x258, 0x217, 0x1ce, 0x193, 0x15c, 0x12a, 0xff,  0xd5,  0xb1,  0x94,  0x75,  0x59,  0x44,  0x32,  0x26,
                0x1e,  0x1e,  0x20,  0x30,  0x41,  0x57,  0x70,  0x8d,  0xb6,  0xd7,  0xf7,  0x125, 0x155, 0x18c, 0x1d2,
                0x212, 0x261, 0x2a7, 0x24f, 0x20b, 0x1c5, 0x188, 0x154, 0x122, 0xf8,  0xce,  0xac,  0x8e,  0x6c,  0x52,
                0x3a,  0x27,  0x19,  0x13,  0x10,  0x18,  0x24,  0x36,  0x50,  0x68,  0x82,  0xaa,  0xca,  0xee,  0x11e,
                0x14d, 0x182, 0x1c2, 0x205, 0x259, 0x29d, 0x241, 0x201, 0x1bd, 0x184, 0x14f, 0x11c, 0xf2,  0xcc,  0xa5,
                0x85,  0x65,  0x4a,  0x30,  0x1e,  0x11,  0x7,   0x7,   0xd,   0x1b,  0x2f,  0x48,  0x5f,  0x7d,  0x9e,
                0xc3,  0xeb,  0x118, 0x148, 0x17b, 0x1c0, 0x1ff, 0x24d, 0x297, 0x23b, 0x1fa, 0x1b8, 0x17d, 0x149, 0x116,
                0xee,  0xcc,  0xa3,  0x80,  0x60,  0x44,  0x2a,  0x18,  0x7,   0x0,   0x0,   0x9,   0x14,  0x28,  0x43,
                0x58,  0x78,  0x98,  0xbd,  0xe7,  0x113, 0x142, 0x172, 0x1b4, 0x1fa, 0x245, 0x28a, 0x26b, 0x1fb, 0x1ba,
                0x180, 0x147, 0x117, 0xef,  0xca,  0xa1,  0x7c,  0x5b,  0x40,  0x28,  0x11,  0x4,   0x3,   0x1,   0x6,
                0x10,  0x23,  0x3e,  0x55,  0x75,  0x98,  0xba,  0xe5,  0x112, 0x13e, 0x171, 0x1b0, 0x1f4, 0x23e, 0x28b,
                0x2ca, 0x20e, 0x1bd, 0x17f, 0x142, 0x114, 0xe8,  0xc5,  0x9e,  0x79,  0x5a,  0x3b,  0x27,  0x10,  0x2,
                0x4,   0x2,   0x0,   0xb,   0x21,  0x37,  0x54,  0x73,  0x95,  0xb9,  0xe3,  0x111, 0x13c, 0x170, 0x1b0,
                0x1f2, 0x23e, 0x286, 0x2de, 0x22a, 0x1b6, 0x17e, 0x140, 0x113, 0xe5,  0xbe,  0x98,  0x79,  0x5a,  0x3a,
                0x27,  0x11,  0x1,   0x3,   0x5,   0x3,   0xb,   0x21,  0x37,  0x52,  0x71,  0x92,  0xb8,  0xe3,  0x10f,
                0x13c, 0x171, 0x1b3, 0x1f2, 0x239, 0x27f, 0x2d6, 0x215, 0x1b0, 0x179, 0x13d, 0x113, 0xe7,  0xbe,  0x99,
                0x79,  0x58,  0x3e,  0x29,  0x15,  0x4,   0x1,   0x4,   0x5,   0xb,   0x1f,  0x39,  0x53,  0x73,  0x94,
                0xb8,  0xe1,  0x10d, 0x138, 0x16d, 0x1b2, 0x1f2, 0x23d, 0x281, 0x293, 0x1f4, 0x1b0, 0x179, 0x144, 0x114,
                0xe6,  0xc0,  0x9c,  0x7c,  0x5a,  0x41,  0x2c,  0x16,  0x7,   0x2,   0x4,   0x7,   0xe,   0x21,  0x39,
                0x56,  0x74,  0x96,  0xbc,  0xe4,  0x10f, 0x139, 0x16e, 0x1ae, 0x1f4, 0x242, 0x282, 0x253, 0x210, 0x1b5,
                0x17d, 0x146, 0x115, 0xec,  0xc4,  0x9e,  0x82,  0x5e,  0x46,  0x2e,  0x1a,  0xb,   0x6,   0x7,   0x9,
                0x14,  0x25,  0x3f,  0x59,  0x78,  0x99,  0xbb,  0xe6,  0x114, 0x13d, 0x175, 0x1b1, 0x1f5, 0x247, 0x287,
                0x285, 0x24a, 0x1ba, 0x182, 0x14b, 0x11b, 0xef,  0xca,  0xa5,  0x84,  0x66,  0x4a,  0x36,  0x23,  0x15,
                0xf,   0xb,   0x10,  0x1d,  0x2c,  0x46,  0x5f,  0x7c,  0x9e,  0xc1,  0xeb,  0x117, 0x143, 0x17c, 0x1b8,
                0x1f8, 0x249, 0x293, 0x298, 0x25e, 0x1c1, 0x188, 0x151, 0x120, 0xf3,  0xcf,  0xac,  0x8e,  0x6e,  0x54,
                0x3f,  0x2a,  0x1d,  0x1b,  0x13,  0x1a,  0x26,  0x37,  0x4c,  0x67,  0x83,  0xa9,  0xc6,  0xf2,  0x11f,
                0x14a, 0x182, 0x1ba, 0x1fe, 0x250, 0x292, 0x27c, 0x251, 0x1c5, 0x18b, 0x159, 0x129, 0xfd,  0xd6,  0xb1,
                0x96,  0x79,  0x5b,  0x47,  0x34,  0x2e,  0x2d,  0x1f,  0x25,  0x33,  0x41,  0x56,  0x6e,  0x8e,  0xb3,
                0xce,  0xf5,  0x129, 0x155, 0x187, 0x1c3, 0x206, 0x254, 0x295, 0x258, 0x226, 0x1d0, 0x196, 0x162, 0x12d,
                0x105, 0xe0,  0xba,  0x9e,  0x80,  0x66,  0x50,  0x42,  0x40,  0x39,  0x31,  0x31,  0x40,  0x4f,  0x62,
                0x79,  0x99,  0xb9,  0xd9,  0xfe,  0x131, 0x164, 0x192, 0x1ca, 0x20e, 0x25b, 0x2a3, 0x266, 0x223, 0x1db,
                0x1ab, 0x16d, 0x13a, 0x111, 0xe8,  0xc6,  0xa9,  0x8d,  0x72,  0x5f,  0x50,  0x49,  0x45,  0x3f,  0x41,
                0x4a,  0x5d,  0x6f,  0x82,  0xa3,  0xc3,  0xe1,  0x108, 0x13a, 0x16b, 0x19c, 0x1d5, 0x219, 0x265, 0x2ac,
                0x277, 0x237, 0x1e4, 0x1b4, 0x17b, 0x143, 0x11c, 0xf3,  0xd2,  0xb3,  0x98,  0x81,  0x6d,  0x5e,  0x52,
                0x51,  0x4c,  0x52,  0x58,  0x69,  0x7b,  0x90,  0xac,  0xcb,  0xeb,  0x112, 0x142, 0x171, 0x1a2, 0x1e0,
                0x227, 0x274, 0x2b9, 0x280, 0x247, 0x1f4, 0x1c2, 0x18a, 0x14d, 0x126, 0xff,  0xde,  0xbf,  0xa5,  0x90,
                0x7e,  0x6e,  0x61,  0x5e,  0x61,  0x60,  0x67,  0x75,  0x87,  0x9d,  0xbd,  0xd9,  0xf6,  0x11f, 0x14e,
                0x17a, 0x1ae, 0x1ec, 0x232, 0x282, 0x2cb, 0x29a, 0x24f, 0x20e, 0x1cb, 0x191, 0x161, 0x133, 0x10d, 0xea,
                0xce,  0xb3,  0x9f,  0x8a,  0x7c,  0x71,  0x6f,  0x72,  0x6e,  0x79,  0x88,  0x96,  0xad,  0xca,  0xe5,
                0x107, 0x12e, 0x15c, 0x18c, 0x1bd, 0x1fa, 0x243, 0x292, 0x2de, 0x2ae, 0x25d, 0x21f, 0x1d7, 0x1a0, 0x16f,
                0x141, 0x11a, 0xf8,  0xde,  0xc4,  0xad,  0x99,  0x8c,  0x84,  0x80,  0x7f,  0x7f,  0x89,  0x97,  0xa6,
                0xbd,  0xd4,  0xf4,  0x115, 0x13b, 0x169, 0x19a, 0x1d1, 0x206, 0x255, 0x2a3, 0x2f2, 0x2bd, 0x275, 0x22f,
                0x1eb, 0x1b0, 0x17f, 0x151, 0x12d, 0x10c, 0xef,  0xd5,  0xbe,  0xae,  0x9e,  0x97,  0x90,  0x8e,  0x91,
                0x9c,  0xa8,  0xb9,  0xcd,  0xe5,  0x105, 0x124, 0x14d, 0x177, 0x1ae, 0x1e4, 0x220, 0x26b, 0x2b9, 0x307,
                0x2d4, 0x296, 0x243, 0x1fe, 0x1c6, 0x193, 0x165, 0x13f, 0x11a, 0x100, 0xe6,  0xd1,  0xc0,  0xb5,  0xa8,
                0xa0,  0xa0,  0xa5,  0xaa,  0xb8,  0xca,  0xe0,  0xfc,  0x115, 0x137, 0x15d, 0x18a, 0x1ce, 0x1f9, 0x236,
                0x282, 0x2d4, 0x324, 0x2f8, 0x2ab, 0x25d, 0x215, 0x1de, 0x1a9, 0x17c, 0x150, 0x12e, 0x110, 0xfb,  0xe6,
                0xd2,  0xc6,  0xba,  0xb6,  0xb6,  0xba,  0xc2,  0xcd,  0xdd,  0xf4,  0x10a, 0x127, 0x14b, 0x171, 0x1aa,
                0x1ec, 0x20f, 0x252, 0x29a, 0x2e9, 0x341, 0x310, 0x2b8, 0x26a, 0x22f, 0x1f0, 0x1b7, 0x18a, 0x15b, 0x13d,
                0x11f, 0x108, 0xf2,  0xde,  0xd4,  0xca,  0xc4,  0xc3,  0xc7,  0xcf,  0xdb,  0xf0,  0x101, 0x11d, 0x135,
                0x15b, 0x184, 0x1c1, 0x1ff, 0x227, 0x265, 0x2aa, 0x2fb, 0x360,
            },

            /* Bgain */
            {
                0x2f0, 0x29d, 0x24a, 0x20b, 0x1d2, 0x1ae, 0x175, 0x151, 0x137, 0x12c, 0x105, 0xeb,  0xd7,  0xc9,  0xbd,
                0xbd,  0xc0,  0xc2,  0xca,  0xdc,  0xec,  0xfb,  0x10f, 0x129, 0x14b, 0x178, 0x1a7, 0x1d2, 0x21b, 0x25c,
                0x29c, 0x305, 0x35e, 0x2d4, 0x284, 0x23e, 0x1ff, 0x1c5, 0x195, 0x16a, 0x143, 0x12a, 0x11c, 0xf5,  0xe1,
                0xcf,  0xbb,  0xb1,  0xae,  0xb2,  0xb8,  0xbf,  0xcd,  0xde,  0xed,  0x102, 0x11e, 0x14a, 0x16f, 0x195,
                0x1c6, 0x209, 0x24b, 0x28e, 0x2e7, 0x348, 0x2b8, 0x26f, 0x228, 0x1e8, 0x1ad, 0x181, 0x155, 0x131, 0x114,
                0x102, 0xe1,  0xca,  0xbe,  0xa8,  0xa0,  0x9c,  0x9d,  0xa6,  0xad,  0xb4,  0xc1,  0xd6,  0xf3,  0x10e,
                0x138, 0x15f, 0x183, 0x1b0, 0x1f5, 0x230, 0x278, 0x2cc, 0x325, 0x2a5, 0x254, 0x20e, 0x1d6, 0x19b, 0x16c,
                0x146, 0x11f, 0xfa,  0xe2,  0xcc,  0xbb,  0xab,  0x97,  0x8e,  0x8b,  0x8b,  0x93,  0x9c,  0xa2,  0xac,
                0xcb,  0xe6,  0xfa,  0x126, 0x14d, 0x174, 0x1a4, 0x1e7, 0x21d, 0x261, 0x2b8, 0x30f, 0x28f, 0x243, 0x1fe,
                0x1c0, 0x18b, 0x15b, 0x138, 0x10e, 0xf1,  0xd3,  0xbc,  0xa8,  0x96,  0x89,  0x7e,  0x79,  0x78,  0x83,
                0x8a,  0x92,  0xa2,  0xbf,  0xda,  0xee,  0x114, 0x13b, 0x162, 0x193, 0x1d6, 0x212, 0x253, 0x29d, 0x2f5,
                0x271, 0x22f, 0x1e9, 0x1b1, 0x17a, 0x14e, 0x126, 0x103, 0xe4,  0xc8,  0xad,  0x97,  0x85,  0x78,  0x6d,
                0x68,  0x6a,  0x6e,  0x74,  0x81,  0x90,  0xb0,  0xcb,  0xe0,  0x107, 0x12a, 0x155, 0x189, 0x1c5, 0x1ff,
                0x240, 0x28b, 0x2db, 0x25e, 0x21e, 0x1df, 0x1a8, 0x171, 0x146, 0x11b, 0xf1,  0xd7,  0xbb,  0x9f,  0x88,
                0x76,  0x67,  0x5d,  0x57,  0x5b,  0x5a,  0x69,  0x71,  0x84,  0xa0,  0xbd,  0xd4,  0xf9,  0x119, 0x14a,
                0x17b, 0x1ae, 0x1e9, 0x232, 0x27b, 0x2c8, 0x253, 0x214, 0x1d3, 0x197, 0x16b, 0x140, 0x111, 0xe8,  0xc5,
                0xa8,  0x90,  0x7c,  0x68,  0x58,  0x4e,  0x46,  0x4a,  0x4c,  0x58,  0x61,  0x73,  0x8d,  0xa4,  0xc6,
                0xed,  0x110, 0x139, 0x167, 0x19f, 0x1dc, 0x223, 0x26b, 0x2ab, 0x249, 0x206, 0x1c4, 0x18c, 0x15d, 0x130,
                0x105, 0xd6,  0xba,  0x9b,  0x83,  0x6b,  0x5a,  0x4a,  0x3c,  0x3a,  0x37,  0x3b,  0x4c,  0x58,  0x67,
                0x82,  0x9f,  0xc7,  0xe7,  0x101, 0x12f, 0x15d, 0x195, 0x1d2, 0x214, 0x25c, 0x2a1, 0x238, 0x1fd, 0x1bb,
                0x17f, 0x150, 0x123, 0xf7,  0xd1,  0xb1,  0x94,  0x78,  0x64,  0x4e,  0x3d,  0x30,  0x2e,  0x28,  0x2e,
                0x3e,  0x4b,  0x60,  0x77,  0x9a,  0xc3,  0xdc,  0xfe,  0x129, 0x155, 0x18c, 0x1c9, 0x20d, 0x256, 0x295,
                0x234, 0x1f0, 0x1af, 0x175, 0x141, 0x117, 0xf0,  0xcb,  0xa8,  0x8a,  0x71,  0x58,  0x3e,  0x2f,  0x23,
                0x1e,  0x1d,  0x23,  0x30,  0x41,  0x58,  0x72,  0x91,  0xbb,  0xd3,  0xf3,  0x122, 0x151, 0x180, 0x1c5,
                0x202, 0x24d, 0x287, 0x222, 0x1e8, 0x1a6, 0x16d, 0x13c, 0x10d, 0xe6,  0xc5,  0xa6,  0x82,  0x67,  0x4e,
                0x37,  0x23,  0x16,  0x12,  0x10,  0x18,  0x23,  0x37,  0x4f,  0x69,  0x84,  0xa9,  0xc7,  0xea,  0x11d,
                0x149, 0x178, 0x1be, 0x1fe, 0x247, 0x28a, 0x21e, 0x1e0, 0x19d, 0x169, 0x138, 0x10b, 0xe3,  0xc3,  0x9d,
                0x7d,  0x61,  0x44,  0x2e,  0x1d,  0xf,   0x8,   0x6,   0xe,   0x1a,  0x2d,  0x47,  0x5d,  0x7c,  0x9c,
                0xbf,  0xe6,  0x119, 0x141, 0x171, 0x1b4, 0x1f5, 0x241, 0x279, 0x21b, 0x1de, 0x19b, 0x168, 0x132, 0x107,
                0xdf,  0xbc,  0x9a,  0x78,  0x5d,  0x40,  0x29,  0x15,  0x7,   0x0,   0x0,   0xa,   0x13,  0x27,  0x45,
                0x58,  0x77,  0x9b,  0xbb,  0xe5,  0x113, 0x13c, 0x170, 0x1ae, 0x1f3, 0x238, 0x276, 0x244, 0x1d8, 0x19f,
                0x168, 0x133, 0x107, 0xdd,  0xba,  0x97,  0x75,  0x56,  0x3c,  0x28,  0x12,  0x4,   0x3,   0x1,   0x4,
                0x11,  0x21,  0x3d,  0x58,  0x77,  0x97,  0xbc,  0xe1,  0x10f, 0x13b, 0x16f, 0x1a9, 0x1e9, 0x232, 0x276,
                0x2a3, 0x1ec, 0x1a4, 0x16a, 0x12f, 0x102, 0xdb,  0xba,  0x94,  0x70,  0x56,  0x3b,  0x28,  0xf,   0x1,
                0x6,   0x2,   0x4,   0xe,   0x1f,  0x3a,  0x55,  0x74,  0x96,  0xb5,  0xe0,  0x10d, 0x13c, 0x16d, 0x1ac,
                0x1e5, 0x230, 0x271, 0x2a9, 0x206, 0x19e, 0x166, 0x12e, 0x101, 0xda,  0xb5,  0x92,  0x71,  0x54,  0x3a,
                0x24,  0x10,  0x4,   0x5,   0x7,   0x6,   0xd,   0x1f,  0x3c,  0x52,  0x75,  0x93,  0xb4,  0xe0,  0x10b,
                0x138, 0x168, 0x1a7, 0x1e9, 0x235, 0x271, 0x2a6, 0x1f1, 0x197, 0x160, 0x129, 0x100, 0xda,  0xb7,  0x92,
                0x70,  0x54,  0x3a,  0x26,  0x12,  0x4,   0x5,   0x5,   0x9,   0xc,   0x22,  0x38,  0x54,  0x71,  0x92,
                0xb6,  0xe2,  0x10c, 0x136, 0x167, 0x1a4, 0x1e2, 0x230, 0x275, 0x267, 0x1d3, 0x192, 0x160, 0x128, 0x101,
                0xd9,  0xbb,  0x96,  0x77,  0x56,  0x3b,  0x2a,  0x14,  0x6,   0x3,   0x7,   0x7,   0x10,  0x26,  0x3d,
                0x57,  0x74,  0x96,  0xb6,  0xe5,  0x10c, 0x136, 0x168, 0x1a3, 0x1e4, 0x22d, 0x271, 0x228, 0x1e9, 0x197,
                0x163, 0x12f, 0x103, 0xd9,  0xbb,  0x9a,  0x7c,  0x5c,  0x45,  0x2f,  0x1c,  0xb,   0x6,   0x7,   0xd,
                0x17,  0x28,  0x3f,  0x5b,  0x77,  0x98,  0xb8,  0xe7,  0x10d, 0x139, 0x16a, 0x1a7, 0x1e9, 0x234, 0x279,
                0x263, 0x226, 0x19a, 0x16a, 0x134, 0x108, 0xdd,  0xbc,  0x9d,  0x80,  0x65,  0x4c,  0x37,  0x25,  0x16,
                0xf,   0xe,   0x13,  0x1f,  0x2e,  0x46,  0x5e,  0x79,  0x9c,  0xbd,  0xeb,  0x112, 0x13d, 0x170, 0x1b0,
                0x1ef, 0x23a, 0x286, 0x271, 0x236, 0x19f, 0x16c, 0x13c, 0x10e, 0xe4,  0xc2,  0x9f,  0x83,  0x6a,  0x55,
                0x3d,  0x2a,  0x1f,  0x19,  0x14,  0x1b,  0x26,  0x36,  0x4c,  0x65,  0x84,  0xa4,  0xc2,  0xeb,  0x119,
                0x146, 0x178, 0x1af, 0x1f3, 0x240, 0x286, 0x254, 0x22e, 0x1a5, 0x16f, 0x143, 0x111, 0xf0,  0xc6,  0xa7,
                0x8d,  0x70,  0x5c,  0x46,  0x35,  0x2e,  0x32,  0x21,  0x24,  0x33,  0x40,  0x55,  0x6c,  0x90,  0xb1,
                0xcb,  0xf2,  0x11d, 0x150, 0x17d, 0x1bc, 0x1f9, 0x244, 0x287, 0x22b, 0x206, 0x1b0, 0x17a, 0x14d, 0x11b,
                0xf4,  0xce,  0xae,  0x93,  0x78,  0x63,  0x4d,  0x3d,  0x40,  0x38,  0x31,  0x31,  0x40,  0x4d,  0x62,
                0x74,  0x98,  0xb8,  0xd7,  0xfb,  0x12f, 0x15a, 0x18a, 0x1c6, 0x205, 0x248, 0x290, 0x236, 0x201, 0x1bd,
                0x190, 0x153, 0x124, 0x100, 0xd9,  0xba,  0xa1,  0x84,  0x6b,  0x57,  0x4b,  0x45,  0x47,  0x42,  0x44,
                0x50,  0x5b,  0x6d,  0x82,  0xa2,  0xc1,  0xde,  0x107, 0x137, 0x161, 0x194, 0x1cc, 0x20a, 0x257, 0x297,
                0x24c, 0x213, 0x1c6, 0x19b, 0x166, 0x12f, 0x10b, 0xe3,  0xc6,  0xaa,  0x90,  0x77,  0x67,  0x5b,  0x4c,
                0x4d,  0x4d,  0x51,  0x5d,  0x6c,  0x7c,  0x8e,  0xab,  0xc9,  0xe8,  0x112, 0x140, 0x16b, 0x19c, 0x1d6,
                0x21a, 0x263, 0x2a7, 0x25b, 0x223, 0x1db, 0x1a7, 0x175, 0x13c, 0x115, 0xf5,  0xd2,  0xb7,  0x9b,  0x86,
                0x76,  0x68,  0x5b,  0x5b,  0x5f,  0x61,  0x69,  0x78,  0x8a,  0xa0,  0xba,  0xd4,  0xf4,  0x11b, 0x149,
                0x176, 0x1a4, 0x1e0, 0x226, 0x26d, 0x2bb, 0x268, 0x22f, 0x1ec, 0x1b1, 0x17b, 0x14b, 0x121, 0xff,  0xe0,
                0xc5,  0xad,  0x96,  0x88,  0x79,  0x6d,  0x6a,  0x6e,  0x6c,  0x75,  0x87,  0x96,  0xae,  0xc9,  0xe2,
                0x103, 0x129, 0x157, 0x183, 0x1b2, 0x1eb, 0x236, 0x280, 0x2cc, 0x27d, 0x234, 0x1fb, 0x1b9, 0x186, 0x158,
                0x132, 0x109, 0xef,  0xd5,  0xbc,  0xa6,  0x97,  0x89,  0x81,  0x7d,  0x7d,  0x7d,  0x86,  0x94,  0xa4,
                0xba,  0xd5,  0xf2,  0x112, 0x136, 0x15e, 0x18a, 0x1bc, 0x1fb, 0x242, 0x28e, 0x2da, 0x28c, 0x249, 0x20e,
                0x1cc, 0x195, 0x162, 0x140, 0x11a, 0x100, 0xe4,  0xcb,  0xb3,  0xa7,  0x98,  0x90,  0x8f,  0x8e,  0x90,
                0x97,  0xa2,  0xb3,  0xc9,  0xdf,  0xfe,  0x122, 0x148, 0x16d, 0x1a6, 0x1d6, 0x210, 0x259, 0x2a1, 0x2e8,
                0x2a9, 0x264, 0x21f, 0x1da, 0x1aa, 0x175, 0x151, 0x129, 0x10e, 0xf4,  0xdc,  0xca,  0xb7,  0xaa,  0xa3,
                0x9c,  0x99,  0x9f,  0xaa,  0xb4,  0xc6,  0xd7,  0xee,  0x10a, 0x130, 0x156, 0x183, 0x1c5, 0x1f3, 0x229,
                0x264, 0x2b3, 0x304, 0x2c0, 0x279, 0x234, 0x1ef, 0x1bf, 0x18d, 0x165, 0x13d, 0x11d, 0x106, 0xeb,  0xdb,
                0xcb,  0xbf,  0xb6,  0xae,  0xad,  0xb3,  0xba,  0xc8,  0xd6,  0xeb,  0x103, 0x11b, 0x140, 0x166, 0x19d,
                0x1e6, 0x20b, 0x244, 0x282, 0x2c9, 0x320, 0x2d0, 0x28d, 0x245, 0x204, 0x1da, 0x19c, 0x175, 0x14b, 0x12c,
                0x10f, 0xf9,  0xe5,  0xdb,  0xd0,  0xc3,  0xbc,  0xbb,  0xbf,  0xc8,  0xd8,  0xe7,  0xf7,  0x114, 0x12b,
                0x14d, 0x176, 0x1b2, 0x1f1, 0x218, 0x259, 0x29b, 0x2e3, 0x338,
            },
        },
    },

    /* ISP_BNR_LSC_CALIB_TABLE_S */
    {
        /* RGain */
        {
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096
        },
        /* GrGain */
        {
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096
        },
        /* GbGain */
        {
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096
        },
        /* BGain */
        {
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
            4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096
        },
    },

};


static const hi_isp_cmos_demosaic g_stIspDemosaic = {
    1,    // bEnable
    /* au8NonDirStr */
    {0,  0,  32,  96,  168, 224, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240},
    /* au8NonDirMFDetailEhcStr */
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    /* au8NonDirHFDetailEhcStr */
    {3, 3, 3, 5, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7},

    /* au8DetailSmoothRange */
    {2, 2, 2, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 7},
};

static const hi_isp_cmos_afc g_stIspAntiFalseColor = {
    1,    /* bEnable */
    {8, 8, 8, 8, 7, 7, 7, 6, 6, 6, 5, 4, 3, 2, 1, 0}, /* au8AntiFalseColorThreshold */
    {8, 8, 8, 8, 7, 7, 7, 6, 6, 6, 5, 4, 3, 2, 1, 0}, /* au8AntiFalseColorStrength */
};

static const hi_isp_cmos_bayernr g_stIspBayerNr = {
    1,      // bEnable
    0,      // bLowPowerEnable
    0,      // bBnrMonoSensorEn
    0,      // bNrLscEnable
    0,      // NrLscNrRatio
    { 90, 95, 110, 110, 120, 120, 120, 120, 120, 100, 100, 16, 16, 16, 16, 16},     // FineStr
    {
        {2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3}, // ChromaStrR
        {1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2}, // ChromaStrGr
        {1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2}, // ChromaStrGb
        {2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3}  // ChromaStrB
    },
    { 0, 0, 0, 0},                // WDRCoarseStr
    { 0, 0, 0, 0 }, /* FusionFrameStr */
    {
        {180, 180, 180, 180, 160, 150, 120, 140, 160, 160, 180, 200, 200, 200, 200, 200},    // CoarseStrR
        {130, 130, 130, 130, 110, 120, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110},    // CoarseStrGR
        {120, 130, 130, 130, 110, 120, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110},    // CoarseStrGB
        {180, 180, 180, 180, 160, 150, 120, 140, 160, 160, 180, 200, 200, 200, 200, 200}     // CoarseStrB
    },
    { 50, 45, 40, 50, 50, 50, 50, 50, 280, 280, 300, 400, 400, 400, 400, 400},     // lutCoringWeight
    {
        60, 60, 60, 60, 65, 65, 65, 65, 70, 70, 70, 70, 70, 70, 70, 70, \
        80, 80, 80, 85, 85, 85, 90, 90, 90, 95, 95, 95, 100, 100, 100, 100, 100
    }   // CoringRatio
};

static const hi_isp_cmos_ldci g_stIspLdci = {
    /* bEnable */
    1,
    /* u8GaussLPFSigma */
    18,

    /* au8HePosWgt */
    {50, 45, 42, 40, 35, 32, 12, 8, 6, 0, 0, 0, 0, 0, 0, 0},
    /* au8HePosSigma */
    {80, 80, 72, 72, 72, 64, 24, 20, 12, 8, 6, 2, 1, 1, 1, 1},
    /* au8HePosMean */
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

    /* au8HeNegWgt */
    {30, 30, 25, 25, 25, 18, 12, 8, 6, 0, 0, 0, 0, 0, 0, 0},
    /* au8HeNegSigma */
    {80, 80, 80, 80, 80, 72, 64, 54, 36, 8, 6, 2, 1, 1, 1, 1},
    /* au8HeNegMean */
    {128, 128, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

    /* au16BlcCtrl */
    {25, 25, 25, 25, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30}
};

static const hi_isp_cmos_gamma g_stIspGamma = {
    {
        0,   20,   40,   60,   81,   101, 122, 142, 163, 184, 204, 225, 246, 267, 288, 308, 329, 350, 371, 391, 412, 432, 453, 473, 493, 513, 533, 553, 572, 591, 611, 629, \
        648, 667, 685, 703, 720, 738, 755, 776, 798, 819, 839, 860, 880, 900, 920, 940, 959, 978, 997, 1016, 1034, 1053, 1070, 1088, 1105, 1122, 1139, 1156, 1172, 1188, 1203, 1218, \
        1233, 1248, 1262, 1276, 1289, 1311, 1331, 1349, 1366, 1383, 1398, 1412, 1426, 1439, 1452, 1464, 1476, 1489, 1502, 1515, 1528, 1543, 1558, 1568, 1578, 1589, 1599, 1610, 1620, 1631, 1641, 1652, \
        1663, 1673, 1684, 1695, 1705, 1716, 1727, 1738, 1749, 1759, 1770, 1781, 1792, 1803, 1814, 1825, 1835, 1846, 1855, 1864, 1873, 1881, 1890, 1899, 1908, 1917, 1926, 1935, 1944, 1953, 1962, 1971, \
        1980, 1989, 1998, 2007, 2016, 2025, 2034, 2043, 2051, 2060, 2069, 2078, 2086, 2095, 2104, 2112, 2121, 2129, 2137, 2145, 2153, 2161, 2168, 2176, 2183, 2191, 2199, 2206, 2214, 2221, 2229, 2237, \
        2244, 2252, 2259, 2266, 2274, 2281, 2288, 2296, 2303, 2310, 2317, 2324, 2330, 2337, 2344, 2350, 2357, 2363, 2369, 2375, 2381, 2387, 2392, 2398, 2403, 2410, 2417, 2423, 2429, 2435, 2440, 2446, \
        2451, 2456, 2460, 2465, 2469, 2474, 2478, 2482, 2486, 2491, 2495, 2499, 2503, 2507, 2511, 2515, 2519, 2524, 2528, 2533, 2537, 2542, 2547, 2551, 2556, 2561, 2565, 2570, 2575, 2579, 2584, 2589, \
        2593, 2598, 2603, 2607, 2612, 2617, 2621, 2626, 2631, 2635, 2640, 2644, 2649, 2654, 2658, 2663, 2667, 2672, 2675, 2679, 2682, 2686, 2689, 2693, 2696, 2700, 2703, 2706, 2710, 2713, 2717, 2720, \

        2723, 2727, 2730, 2733, 2737, 2740, 2744, 2747, 2750, 2754, 2757, 2760, 2764, 2767, 2771, 2774, 2778, 2781, 2785, 2788, 2792, 2795, 2798, 2801, 2804, 2807, 2810, 2813, 2816, 2819, 2822, 2825, \
        2828, 2831, 2834, 2837, 2841, 2844, 2847, 2850, 2853, 2856, 2859, 2862, 2865, 2868, 2871, 2874, 2878, 2881, 2884, 2887, 2890, 2893, 2897, 2900, 2903, 2906, 2910, 2913, 2916, 2919, 2923, 2926, \
        2929, 2932, 2934, 2936, 2939, 2941, 2943, 2946, 2948, 2950, 2953, 2955, 2957, 2960, 2962, 2965, 2967, 2970, 2972, 2974, 2977, 2979, 2982, 2984, 2987, 2989, 2992, 2994, 2997, 2999, 3002, 3004, \
        3007, 3009, 3012, 3014, 3017, 3019, 3022, 3024, 3027, 3029, 3032, 3034, 3037, 3039, 3042, 3044, 3046, 3049, 3051, 3054, 3056, 3059, 3061, 3063, 3066, 3068, 3070, 3073, 3075, 3077, 3080, 3082, \
        3084, 3086, 3089, 3091, 3093, 3095, 3098, 3100, 3102, 3104, 3106, 3109, 3111, 3113, 3115, 3117, 3119, 3122, 3124, 3126, 3128, 3130, 3132, 3134, 3136, 3138, 3141, 3143, 3145, 3147, 3149, 3151, \
        3153, 3155, 3157, 3159, 3161, 3163, 3166, 3168, 3170, 3172, 3174, 3176, 3178, 3180, 3182, 3184, 3186, 3188, 3190, 3192, 3194, 3196, 3198, 3200, 3202, 3204, 3206, 3208, 3210, 3212, 3214, 3216, \
        3218, 3220, 3222, 3224, 3226, 3228, 3230, 3232, 3234, 3236, 3238, 3240, 3243, 3245, 3247, 3249, 3251, 3253, 3255, 3257, 3259, 3261, 3263, 3265, 3267, 3269, 3271, 3273, 3275, 3277, 3279, 3281, \
        3283, 3285, 3287, 3289, 3291, 3293, 3294, 3296, 3298, 3300, 3302, 3304, 3306, 3308, 3310, 3312, 3313, 3315, 3317, 3319, 3321, 3323, 3325, 3326, 3328, 3330, 3332, 3333, 3335, 3337, 3339, 3340,

        3342, 3344, 3346, 3347, 3349, 3351, 3352, 3354, 3356, 3357, 3359, 3361, 3362, 3364, 3365, 3367, 3369, 3370, 3372, 3373, 3375, 3376, 3378, 3379, 3381, 3382, 3384, 3385, 3387, 3388, 3390, 3391, \
        3393, 3394, 3396, 3397, 3398, 3400, 3401, 3403, 3404, 3406, 3407, 3409, 3410, 3411, 3413, 3414, 3416, 3417, 3419, 3420, 3422, 3423, 3424, 3426, 3427, 3429, 3430, 3432, 3433, 3435, 3436, 3438, \
        3439, 3440, 3442, 3443, 3444, 3446, 3447, 3449, 3450, 3451, 3453, 3454, 3456, 3457, 3458, 3460, 3461, 3462, 3464, 3465, 3467, 3468, 3469, 3471, 3472, 3473, 3475, 3476, 3478, 3479, 3480, 3482, \
        3483, 3484, 3486, 3487, 3488, 3490, 3491, 3493, 3494, 3495, 3497, 3498, 3499, 3501, 3502, 3503, 3505, 3506, 3507, 3509, 3510, 3511, 3513, 3514, 3515, 3517, 3518, 3519, 3521, 3522, 3523, 3525, \
        3526, 3527, 3529, 3530, 3531, 3533, 3534, 3535, 3537, 3538, 3539, 3541, 3542, 3543, 3545, 3546, 3547, 3549, 3550, 3551, 3553, 3554, 3555, 3556, 3558, 3559, 3560, 3562, 3563, 3564, 3565, 3567, \
        3568, 3569, 3571, 3572, 3573, 3574, 3576, 3577, 3578, 3580, 3581, 3582, 3583, 3585, 3586, 3587, 3589, 3590, 3591, 3593, 3594, 3595, 3597, 3598, 3599, 3601, 3602, 3603, 3605, 3606, 3607, 3609, \
        3610, 3612, 3613, 3614, 3616, 3617, 3619, 3620, 3621, 3623, 3624, 3626, 3627, 3629, 3630, 3631, 3633, 3634, 3636, 3637, 3639, 3640, 3641, 3643, 3644, 3646, 3647, 3649, 3650, 3652, 3653, 3655, \
        3656, 3658, 3659, 3660, 3662, 3663, 3665, 3666, 3668, 3669, 3671, 3672, 3674, 3675, 3677, 3678, 3680, 3681, 3683, 3684, 3686, 3687, 3688, 3690, 3691, 3693, 3694, 3696, 3697, 3699, 3700, 3702,

        3703, 3704, 3706, 3707, 3709, 3710, 3712, 3713, 3715, 3716, 3718, 3719, 3720, 3722, 3723, 3725, 3726, 3728, 3729, 3731, 3732, 3733, 3735, 3736, 3738, 3739, 3741, 3742, 3744, 3745, 3747, 3748, \
        3749, 3751, 3752, 3754, 3755, 3757, 3758, 3760, 3761, 3763, 3764, 3765, 3767, 3768, 3770, 3771, 3773, 3774, 3776, 3777, 3778, 3780, 3781, 3783, 3784, 3786, 3787, 3789, 3790, 3792, 3793, 3794, \
        3796, 3797, 3799, 3800, 3802, 3803, 3805, 3806, 3807, 3809, 3810, 3812, 3813, 3815, 3816, 3817, 3819, 3820, 3822, 3823, 3824, 3826, 3827, 3829, 3830, 3832, 3833, 3834, 3836, 3837, 3839, 3840, \
        3842, 3843, 3844, 3846, 3847, 3849, 3850, 3852, 3853, 3854, 3856, 3857, 3859, 3860, 3862, 3863, 3865, 3866, 3868, 3869, 3871, 3872, 3874, 3875, 3877, 3878, 3880, 3881, 3883, 3884, 3886, 3887, \
        3889, 3890, 3892, 3893, 3895, 3897, 3898, 3900, 3901, 3903, 3905, 3906, 3908, 3909, 3911, 3913, 3914, 3916, 3918, 3919, 3921, 3922, 3924, 3926, 3927, 3929, 3931, 3932, 3934, 3936, 3937, 3939, \
        3941, 3943, 3944, 3946, 3948, 3949, 3951, 3953, 3954, 3956, 3958, 3959, 3961, 3963, 3964, 3966, 3968, 3969, 3971, 3973, 3974, 3976, 3978, 3979, 3981, 3983, 3984, 3986, 3988, 3989, 3991, 3992, \
        3994, 3996, 3997, 3999, 4000, 4002, 4004, 4005, 4007, 4008, 4010, 4012, 4013, 4015, 4016, 4018, 4020, 4021, 4023, 4024, 4026, 4027, 4029, 4031, 4032, 4034, 4035, 4037, 4038, 4040, 4042, 4043, \
        4045, 4046, 4048, 4049, 4051, 4053, 4054, 4056, 4057, 4059, 4060, 4062, 4064, 4065, 4067, 4068, 4070, 4071, 4073, 4075, 4076, 4078, 4079, 4081, 4082, 4084, 4086, 4087, 4089, 4090, 4092, 4093, 4095
    }
};

static const  hi_isp_cmos_edgemark g_stIspEdgeMark = {
    0,          // HI_BOOL bEnable;                          /* RW; Range:[0, 1]; Format:1.0;Enable/Disable Edge Mark */
    100,        // HI_U8     u8Threshold;                /*  RW; range: [0, 255];  Format:8.0; */
    0xFF0000,   // HI_U32    u32Color;               /*  RW; range: [0, 0xFFFFFF];  Format:32.0; */
};

static const hi_isp_cmos_sharpen g_stIspYuvSharpen = {
    /*  u8SkinUmin  */
    100,
    /*  u8SkinVmin  */
    135,
    /*  u8SkinUmax  */
    128,
    /*  u8SkinVmax  */
    150,
    /*  Manual Para  */
    {
        /*  au8LumaWgt                            */
        {127,   127,   127,     127,    127,    127,    127,    127,    127,    127,    127,    127,    127,    127,    127,    127, 127,   127,   127,   127,   127,   127,   127,   127,   127,   127,   127,  127,   127,    127,  127,  127},
        /*  au16TextureStr  */
        {100,   102,   105,     108,    110,    115,    120,    128,    136,    148,    150,    160,    165,    170,    170,    170, 170,   170,   168,   165,   162,   160,   155,   150,   140,   136,   130,  128,   125,    123,  120,  120},
        /*  au16EdgeStr  */
        {120,   123,   125,     128,    130,    135,    140,    148,    160,    168,    180,    190,    200,    210,    210,    210, 210,   210,   200,   190,   185,   175,   165,   160,   146,   136,   130,  128,   125,    123,  120,  120},
        /*  u16TextureFreq;  */
        256,
        /*  u16EdgeFreq;  */
        100,
        /*  u8OverShoot;  */
        65,
        /*  u8UnderShoot;  */
        70,
        /*  u8shootSupStr;  */
        10,
        /*  u8shootSupAdj;  */
        9,
        /*  u8DetailCtrl;  */
        128,
        /*  u8DetailCtrlThr;  */
        180,
        /*  u8EdgeFiltStr;  */
        53,
        /* u8EdgeFiltMaxCap;  */
        18,
        /*  u8RGain;  */
        31,
        /*  u8GGain;  */
        32,
        /*  u8BGain;  */
        31,
        /*  u8SkinGain;  */
        31,
        /*  u8MaxSharpGain;  */
        160
    },
    /*  Auto Para  */
    {
        /*  au16LumaWgt  */
        /*  ISO  */
        /*  100,    200,      400,     800,    1600,     3200,     6400,     12800,    25600,   51200,  102400,   204800,   409600,   819200,   1638400,  3276800  */
        {   {27,    28,   29,   30,  32,    33,    34,    35,    36,   37,   38,    39,     40,    41,    42,     43 },
            {44,    44,   45,   46,  46,    47,    47,    48,    49,   49,   50,    51,     52,    52,    53,     53 },
            {27,    28,   29,   30,  32,    33,    34,    35,    36,   37,   38,    39,     40,    41,    42,     43 },
            {44,    44,   45,   46,  46,    47,    47,    48,    49,   49,   50,    51,     52,    52,    53,     53 },
            {27,    28,   29,   30,  32,    33,    34,    35,    36,   37,   38,    39,     40,    41,    42,     43 },
            {44,    44,   45,   46,  46,    47,    47,    48,    49,   49,   50,    51,     52,    52,    53,     53 },
            {27,    28,   29,   30,  32,    33,    34,    35,    36,   37,   38,    39,     40,    41,    42,     43 },
            {44,    44,   45,   46,  46,    47,    47,    48,    49,   49,   50,    51,     52,    52,    53,     53 },
            {27,    28,   29,   30,  32,    33,    34,    35,    36,   37,   38,    39,     40,    41,    42,     43 },
            {44,    44,   45,   46,  46,    47,    47,    48,    49,   49,   50,    51,     52,    52,    53,     53 },
            {27,    28,   29,   30,  32,    33,    34,    35,    36,   37,   38,    39,     40,    41,    42,     43 },
            {44,    44,   45,   46,  46,    47,    47,    48,    49,   49,   50,    51,     52,    52,    53,     53 },
            {27,    28,   29,   30,  32,    33,    34,    35,    36,   37,   38,    39,     40,    41,    42,     43 },
            {44,    44,   45,   46,  46,    47,    47,    48,    49,   49,   50,    51,     52,    52,    53,     53 },
            {27,    28,   29,   30,  32,    33,    34,    35,    36,   37,   38,    39,     40,    41,    42,     43 },
            {44,    44,   45,   46,  46,    47,    47,    48,    49,   49,   50,    51,     52,    52,    53,     53 },
            {27,    28,   29,   30,  32,    33,    34,    35,    36,   37,   38,    39,     40,    41,    42,     43 },
            {44,    44,   45,   46,  46,    47,    47,    48,    49,   49,   50,    51,     52,    52,    53,     53 },
            {27,    28,   29,   30,  32,    33,    34,    35,    36,   37,   38,    39,     40,    41,    42,     43 },
            {44,    44,   45,   46,  46,    47,    47,    48,    49,   49,   50,    51,     52,    52,    53,     53 },
            {27,    28,   29,   30,  32,    33,    34,    35,    36,   37,   38,    39,     40,    41,    42,     43 },
            {44,    44,   45,   46,  46,    47,    47,    48,    49,   49,   50,    51,     52,    52,    53,     53 },
            {27,    28,   29,   30,  32,    33,    34,    35,    36,   37,   38,    39,     40,    41,    42,     43 },
            {44,    44,   45,   46,  46,    47,    47,    48,    49,   49,   50,    51,     52,    52,    53,     53 },
            {127,   127,  127,  127, 127,   127,   127,   127,   127,  127,  127,   127,    127,   127,   127,    127 },
            {127,   127,  127,  127, 127,   127,   127,   127,   127,  127,  127,   127,    127,   127,   127,    127 },
            {127,   127,  127,  127, 127,   127,   127,   127,   127,  127,  127,   127,    127,   127,   127,    127 },
            {127,   127,  127,  127, 127,   127,   127,   127,   127,  127,  127,   127,    127,   127,   127,    127 },
            {127,   127,  127,  127, 127,   127,   127,   127,   127,  127,  127,   127,    127,   127,   127,    127 },
            {127,   127,  127,  127, 127,   127,   127,   127,   127,  127,  127,   127,    127,   127,   127,    127 },
            {127,   127,  127,  127, 127,   127,   127,   127,   127,  127,  127,   127,    127,   127,   127,    127 },
            {127,   127,  127,  127, 127,   127,   127,   127,   127,  127,  127,   127,    127,   127,   127,    127 }
        },
        /*  au16TextureStr  */
        /*  ISO  */
        /*  100,       200,         400,           800,       1600,             3200,         6400,         12800,       25600,       51200,      102400,      204800,      409600,      819200,      1638400,  3276800  */
        {   {270,   270,  260,  245,  230,  200,  155,   130,   90,  70,   10,  10,  0,   0,   0,    0     },
            {270,   270,  260,  245,  230,  200,  155,   130,   90,  70,   10,  10,  0,   0,   0,    0     },
            {270,   270,  260,  255,  245,  200,  155,   130,   90,  70,   10,  10,  0,   0,   0,    0     },
            {270,   270,  260,  245,  245,  215,  160,   130,   90,  70,   10,  10,  0,   0,   0,    0     },
            {270,   270,  260,  250,  245,  215,  160,   130,   90,  70,   10,  10,  0,   0,   0,    0     },
            {270,   270,  260,  250,  245,  215,  180,   140,   90,  70,   10,  10,  0,   0,   0,    0     },
            {270,   270,  260,  250,  245,  215,  180,   140,   100,  70,   20,  20,  0,   0,   0,    0     },
            {275,   275,  265,  255,  245,  215,  180,   140,   100,  70,   20,  20,  0,   0,   0,    0     },
            {280,   280,  270,  265,  255,  220,  190,   140,   110,  70,   20,  20,  0,   0,   0,    0     },
            {285,   285,  275,  270,  255,  220,  190,   140,   110,  70,   20,  20,  2,   2,   2,    2     },
            {290,   290,  285,  280,  265,  220,  200,   145,   110,  70,   30,  30,  6,   6,   6,    6     },
            {295,   295,  285,  280,  265,  230,  210,   145,   110,  80,   30,  30,  10,  10,  10,   10    },
            {300,   300,  290,  285,  270,  230,  230,   160,   110,   80,   30,  30,  14,  14,  14,   14    },
            {305,   305,  295,  285,  270,  230,  230,   160,   110,   80,   40,  40,  16,  16,  16,   16    },
            {310,   310,  300,  295,  275,  230,  240,   160,   110,   80,   40,  40,  20,  20,  20,   20    },
            {315,   315,  300,  295,  275,  230,  240,   100,   110,   80,   50,  50,  20,  20,  20,   20    },
            {320,   320,  310,  300,  280,  240,  240,   160,   110,   80,   50,  50,  20,  20,  20,   20    },
            {320,   320,  310,  300,  280,  240,  240,   160,   110,   80,   60,  60,  20,  20,  20,   20    },
            {315,   315,  310,  300,  280,  240,  240,   160,   110,   80,   60,  60,  20,  20,  20,   20    },
            {310,   310,  305,  300,  280,  240,  240,   160,   110,   80,   70,  70,  18,  18,  18,   18    },
            {305,   305,  300,  300,  280,  240,  240,   130,   110,   70,   70,  70,  12,  12,  12,   12    },
            {300,   300,  295,  285,  265,  220,  180,   100,   80,   70,   80,  80,  10,  10,  10,   10    },
            {295,   295,  290,  285,  265,  220,  150,   100,   80,   70,   80,  80,  8,   8,   8,    8     },
            {280,   280,  275,  270,  255,  215,  120,   100,   80,   70,   80,  80,  6,   6,   6,    6     },
            {270,   270,  265,  260,  250,  215,  100,   100,   80,   70,   80,  80,  4,   4,   4,    4     },
            {265,   265,  260,  255,  250,  180,  100,   100,   80,   70,   80,  80,  2,   2,   2,    2     },
            {255,   255,  250,  240,  230,  180,  100,    90,    70,   70,   70,  70,  2,   2,   2,    2     },
            {245,   245,  240,  230,  220,  140,  100,    90,    70,   70,   70,  70,  2,   2,   2,    2     },
            {235,   235,  230,  220,  210,  110,  90,    90,    70,   70,   70,  70,  2,   2,   2,    2     },
            {225,   225,  210,  200,  190,  120,  90,    90,    60,   60,   60,  60,  2,   2,   2,    2     },
            {215,   215,  210,  200,  190,  110,  90,    90,    60,   60,   60,  60,  2,   2,   2,    2     },
            {200,   200,  190,  180,  175,  110,  90,    90,    60,   60,   60,  60,  2,   2,   2,    2     }

        },
        /*  au16EdgeStr      */
        /*  ISO  */
        /*  100,          200,          400,           800,         1600,           3200,         6400,         12800,       25600,      51200,       102400,       204800,      409600,      819200,   1638400,      3276800  */
        {
            {200,  200,  190,  190,  185,  175,  170,  120,  110,  100,  100,  100,  100,  50,  50,  50   },
            {200,  200,  190,  190,  185,  175,  170,  120,  110,  100,  100,  100,  100,  50,  50,  50   },
            {200,  200,  190,  190,  185,  175,  170,  120,  110,  100,  100,  100,  100,  50,  50,  50   },
            {200,  200,  190,  190,  185,  175,  170,  120,  110,  100,  100,  100,  100,  50,  50,  50   },
            {200,  200,  190,  190,  185,  175,  170,  120,  110,  100,  100,  100,  100,  50,  50,  50   },
            {202,  202,  195,  195,  190,  180,  175,  130,  120,  110,  110,  110,  110,  50,  50,  50   },
            {202,  202,  195,  195,  190,  180,  175,  130,  120,  110,  110,  110,  110,  50,  50,  50   },
            {210,  210,  200,  200,  190,  180,  175,  140,  140,  130,  130,  130,  130,  50,  50,  50   },
            {220,  220,  210,  210,  200,  190,  180,  140,  140,  130,  130,  130,  130,  50,  50,  50   },
            {230,  230,  220,  220,  210,  200,  190,  140,  160,  150,  150,  150,  150,  50,  50,  50   },
            {240,  240,  230,  230,  220,  210,  195,  180,  180,  180,  160,  160,  160,  50,  50,  50   },
            {250,  250,  240,  240,  230,  220,  205,  180,  180,  180,  160,  160,  160,  50,  50,  50   },
            {260,  260,  250,  250,  240,  230,  210,  180,  180,  180,  160,  160,  160,  50,  50,  50   },
            {270,  270,  260,  260,  250,  240,  215,  190,  190,  190,  170,  170,  170,  50,  50,  50   },
            {280,  280,  270,  270,  260,  250,  220,  190,  190,  190,  170,  170,  170,  50,  50,  50   },
            {290,  290,  280,  280,  270,  260,  225,  180,  180,  180,  160,  160,  160,  50,  50,  50   },
            {300,  300,  290,  290,  280,  270,  230,  180,  180,  180,  160,  160,  160,  50,  50,  50   },
            {290,  290,  280,  280,  270,  260,  225,  190,  190,  190,  160,  160,  160,  50,  50,  50   },
            {280,  280,  270,  270,  260,  250,  220,  190,  190,  190,  160,  160,  160,  50,  50,  50   },
            {270,  270,  260,  260,  250,  240,  210,  190,  190,  190,  160,  160,  160,  50,  50,  50   },
            {260,  260,  250,  250,  240,  230,  205,  180,  180,  180,  160,  160,  160,  50,  50,  50   },
            {255,  255,  245,  245,  235,  230,  205,  180,  180,  180,  160,  160,  160,  50,  50,  50   },
            {250,  250,  245,  245,  235,  225,  200,  170,  170,  170,  150,  150,  150,  50,  50,  50   },
            {240,  240,  235,  235,  225,  220,  200,  160,  160,  160,  150,  150,  150,  50,  50,  50   },
            {230,  230,  225,  225,  215,  210,  195,  160,  160,  160,  150,  150,  150,  50,  50,  50   },
            {220,  220,  210,  210,  205,  200,  190,  160,  160,  160,  150,  150,  150,  50,  50,  50   },
            {210,  210,  200,  200,  195,  190,  185,  160,  160,  160,  140,  140,  140,  50,  50,  50   },
            {200,  200,  190,  190,  185,  180,  175,  155,  155,  155,  135,  135,  135,  50,  50,  50   },
            {195,  195,  185,  185,  185,  180,  175,  150,  150,  150,  135,  135,  135,  40,  40,  40   },
            {190,  190,  185,  185,  180,  175,  170,  150,  150,  150,  135,  135,  135,  30,  30,  30   },
            {180,  180,  175,  175,  170,  165,  160,  150,  150,  150,  135,  135,  135,  25,  25,  25   },
            {180,  180,  175,  175,  170,  165,  160,  150,  150,  150,  135,  135,  135,  20,  20,  20   }

        },
        /*  au16TextureFreq                            */
        /*  ISO  */
        /*  100,  200,    400,      800,     1600,    3200,    6400,     12800,  25600,   51200,   102400,  204800,   409600,   819200,   1638400,  3276800  */
        { 200,   200,     200,      200,     220,      220,     250,       200,    180,    160,    160,    128,    128,    128,     128,    128},
        /*  au16EdgeFreq                               */
        /*  ISO  */
        /*  100,     200,          400,          800,        1600,         3200,          6400,         12800,        25600,      51200,  102400,  204800,   409600,   819200,   1638400,  3276800  */
        {  128,  128,     128,      128,    150,       160,       170,       180,       80,      70,     70,    70,     70,      70,     70,     70},
        /*  au8OverShoot                               */
        /*  ISO  */
        /*  100,     200,          400,          800,        1600,         3200,          6400,          12800,      25600,      51200,   102400,  204800,   409600,   819200,   1638400,  3276800  */
        {  100,    100,      100,      100,       65,     65,        60,        60,      70,      80,     90,     90,     90,      90,     90,     90},
        /*  au8UnderShoot                              */
        /*  ISO  */
        /*  100,     200,          400,          800,        1600,         3200,           6400,          12800,    25600,        51200,  102400,  204800,   409600,   819200,   1638400,  3276800  */
        {  120,   120,       120,       120,     80,       80,       70,         60,    60,       70,      80,    90,     90,     90,      90,     90},
        /*  au8ShootSupStr                            */
        /*  ISO  */
        /*  100,    200,           400,           800,       1600,          3200,           6400,          12800,   25600,         51200,  102400,  204800,   409600,   819200,   1638400,  3276800  */
        {  10,    10,    10,     10,    10,    10,    10,    9,   8,    8,   7,    7,    7,    7,    7,   7},
        /*  au8ShootSupAdj                            */
        /*  ISO  */
        /*  100,    200,           400,           800,       1600,          3200,           6400,          12800,   25600,         51200,  102400,  204800,   409600,   819200,   1638400,  3276800  */
        {  9,     9,      9,       9,    9,     9,    9,    8,   8,    8,   7,    7,    7,    7,    7,   7},
        /*  au8DetailCtrl                           */
        /*  ISO  */
        /*  100,    200,          400,           800,        1600,           3200,          6400,         12800,     25600,         51200,  102400,  204800,   409600,   819200,   1638400,  3276800  */
        {  30,       40,           30,             30,        30,            30,            30,             30,        70,            30,    30,    128,    128,    128,      128,    128},
        /*  au8DetailCtrlThr                           */
        /*  ISO  */
        /*  100,    200,          400,           800,        1600,           3200,          6400,         12800,     25600,         51200,  102400,  204800,   409600,   819200,   1638400,  3276800  */
        {  160,  160,      160,      160,    160,       160,       160,       160,   160,       160,   160,    160,    160,    160,      160,    160},
        /*  au8EdgeFiltStr                           */
        /*  ISO  */
        /*  100,   200,     400,    800,     1600,     3200,    6400,      12800,      25600,     51200,  102400,  204800,   409600,   819200,   1638400,  3276800  */
        { 53,   53,    53,  51,    48,   43,    43,    43,      43,   43,    43,    43,    43,    43,    43,   43 },
        { 18,   18,    18,  18,    18,   18,    18,    18,      18,   18,    18,    18,    18,    18,    18,   18 },
        /*  au8RGain                           */
        /*  ISO  */
        /*  100,    200,          400,           800,        1600,           3200,          6400,         12800,     25600,         51200,  102400,  204800,   409600,   819200,   1638400,  3276800  */
        {   31,   31,       31,       31,     31,        31,        31,        20,    16,        16,    16,     16,     16,     16,       16,     16},
        /*  au8GGain                           */
        /*  ISO  */
        /*  100,    200,          400,           800,        1600,           3200,          6400,         12800,     25600,         51200,  102400,  204800,   409600,   819200,   1638400,  3276800  */
        {   32,   32,       32,       32,     32,        32,        32,        32,    32,        32,    32,     32,     32,     32,       32,     32},
        /*  au8BGain                           */
        /*  ISO  */
        /*  100,    200,          400,           800,        1600,           3200,          6400,         12800,     25600,         51200,  102400,  204800,   409600,   819200,   1638400,  3276800  */
        {   31,   31,       31,       31,     31,        31,        31,        20,    16,        16,    16,     16,     16,     16,       16,     16},
        /*  au8SkinGain                           */
        /*  ISO  */
        /*  100,    200,          400,           800,        1600,           3200,          6400,         12800,     25600,         51200,  102400,  204800,   409600,   819200,   1638400,  3276800  */
        {   31,   31,       31,       31,     31,        31,        31,        20,    16,        16,    16,     16,     16,     16,       16,     16},
        /*  u8MaxSharpGain                           */
        /*  ISO  */
        /*  100,    200,          400,           800,        1600,           3200,          6400,         12800,     25600,         51200,  102400,  204800,   409600,   819200,   1638400,  3276800  */
        {   160,   160,       160,       160,     160,        160,        160,        160,    160,        160,    160,     160,     160,     160,       160,     160}
    },

};

static const hi_isp_cmos_drc g_stIspDRC = {
    /* bEnable */
    0,
    /* enOpType */
    0,
    /* u16ManualStrength */
    1023,
    /* u16AutoStrength */
    512,
    /* u8SpatialFltCoef */
    1,
    /* u8RangeFltCoef */
    2,
    /* u8ContrastControl */
    9,
    /* s8DetailAdjustFactor */
    6,
    /* u8RangeAdaMax */
    4,
    /* u8GradRevMax */
    30,
    /* u8GradRevThr */
    35,
    /* u8BrightGainLmt */
    15,
    /* u8BrightGainLmtStep */
    10,
    /* u8DarkGainLmtY */
    0,
    /* u8DarkGainLmtC */
    0,
    /* u8PDStrength */
    35,
    /* u8LocalMixingBrightMax */
    32,
    /* u8LocalMixingBrightMin */
    24,
    /* u8LocalMixingBrightThr */
    96,
    /* s8LocalMixingBrightSlo */
    -3,
    /* u8LocalMixingDarkMax */
    36,
    /* u8LocalMixingDarkMin */
    28,
    /* u8LocalMixingDarkThr */
    200,
    /* s8LocalMixingDarkSlo */
    5,
    /* ColorCorrectionLut[33] */
    {
        1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 772, 768, 764,
        760,  756,  752,  748,  744,  740,  736,  732,  728,  724,  720,  716,  712,  708,  704, 700
    },
    /* ToneMappingValue[200] */
    {
        8,     8,     16,    24,    31,    39,    48,    56,    65,    75,    85,    95,    106,   118,   130,   143,
        156,   170,   185,   201,   218,   235,   254,   274,   294,   316,   339,   364,   390,   417,   446,   477,
        509,   543,   579,   617,   658,   701,   746,   794,   844,   898,   955,   1015,  1078,  1145,  1216,  1291,
        1370,  1454,  1543,  1637,  1736,  1841,  1952,  2069,  2194,  2325,  2465,  2612,  2767,  2932,  3106,  3290,
        3485,  3691,  3909,  4140,  4384,  4641,  4914,  5202,  5507,  5830,  6171,  6531,  6913,  7316,  7742,  8193,
        8669,  9173,  9705,  10268, 10863, 11492, 12145, 12808, 13483, 14171, 14872, 15587, 16319, 17069, 17840, 18635,
        19458, 19881, 20313, 20754, 21204, 21661, 22122, 22586, 23053, 23525, 24000, 24480, 24965, 25455, 25950, 26451,
        26959, 27473, 27995, 28524, 29062, 29609, 30165, 30732, 31309, 31899, 32501, 33116, 33746, 34391, 35043, 35706,
        36381, 37066, 37763, 38472, 39192, 39925, 40671, 41429, 42201, 42591, 42986, 43383, 43784, 44189, 44597, 45008,
        45424, 45842, 46265, 46691, 47121, 47555, 47993, 48434, 48880, 49329, 49783, 50241, 50703, 51169, 51639, 52113,
        52592, 53075, 53564, 54056, 54552, 55054, 55560, 56071, 56586, 56846, 57107, 57369, 57632, 57896, 58162, 58429,
        58697, 58967, 59238, 59510, 59783, 60057, 60333, 60611, 60889, 61169, 61451, 61733, 62017, 62303, 62589, 62877,
        63167, 63458, 63750, 64044, 64340, 64636, 64934, 65234
    },
    /* u8Asymmetry */
    5,
    /* u8SecondPole */
    180,
    /* u8Stretch */
    50,
    /* u8Compress */
    150,
    /* u8CurveSel */
    0
};

static const hi_isp_cmos_ge g_stIspGe = {
    /* For GE */
    1,    /* bEnable */
    9,    /* u8Slope */
    9,    /* u8SensiSlope */
    300, /* u16SensiThr */
    {300, 300, 300, 300, 310, 310, 310,  310,  320, 320, 320, 320, 330, 330, 330, 330}, /* au16Threshold[ISP_AUTO_ISO_STRENGTH_NUM] */
    { 128, 128, 128, 128, 129, 129, 129,   129,   130, 130, 130, 130, 131, 131, 131, 131}, /* au16Strength[ISP_AUTO_ISO_STRENGTH_NUM] */
    {1024, 1024, 1024, 2048, 2048, 2048, 2048,  2048,  2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048} /* au16NpOffset[ISP_AUTO_ISO_STRENGTH_NUM] */
};

/* **BAYER NR* */
static const hi_isp_cmos_noise_calibration ST_ISP_NOISE_CALIB_RATIO = {
    7,  // Calibration Lut Num
    /* ************Calibration LUT Table************ */
    {
        {100.000000f, 0.046061f, 0.000000f},
        {200.000000f, 0.086122f, 0.000000f},
        {400.000000f, 0.172829f, 0.000000f},
        {800.000000f, 0.345248f, 0.000000f},
        {1600.000000f, 0.696803f, 0.000000f},
        {3200.000000f, 1.408294f, 0.000000f},
        {6400.000000f, 2.917792f, 0.000000f},
        {12800.000000f, 6.373769f, 0.000000f},
    },
    /* ******************************************* */
};
#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif /*  End of #ifdef __cplusplus  */

#endif /*  IMX219_CMOS_EX_H  */
